"Album" displays album but not thumbnails [solved]

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
holybuzz

"Album" displays album but not thumbnails [solved]

Post by holybuzz »

I have searched and searched here and cannot find an answer. Last resort: Post New Topic

I have installed "Album" 8.0.2.

I have assigned my two albums to the "lightbox" template.

I have chosen "lightbox" as my default template.

I have chosen "default" as my multiple albums template.

I have chosen "photo album" as my display page "content type".

I have associated my display page with the "Album Template Stylesheet".

I've deselected the album tag checkbox.

I have changed my File Creation Mask (umask) from "022" to "002" and then to "000".

I've cleared my cache so many times that I feel like I've been to Mexico and had a nice tall glass of their finest local water.

Here's what I have experienced.

After adding one album (six photos), the page displayed all six thumbnails. I was not presented with an album "front door" to click on. And when I clicked the thumbs, everything worked fine.

Then I added another album. At this point, the two albums showed (two thumbs in all), but nothing happened when I clicked the thumbnails. No gallery was generated. And this is the url that is generated:

Code: Select all

http://cvid.org/index.php?mact=Album,cntnt01,default,0&cntnt01albumid=1&cntnt01returnid=52


As I said, I have tried and tried but cannot figure this out. I think I have used every possible permutation of templates. It looks like the app will do exactly what I need, but how to get it to work?

NOTE: My guess is that confusion about the multiple template setup for this app is at least part of the problem. If I get an answer to this, I promise to write a long and detailed how-to.

Here's is where I'll start (this is from the User Handbook for album):

    * Album List Template: - Choose which template is used for the list of Albums
    * Default Template: - Choose the default template that is used for new Albums that you create
    * Template: - Choose the template that is used for a specific Album.

My question: Which templates should be used where? Default? Tables? Pats Imagegallery? Lightbox? Thickbox?

If it helps, here's the gallery page:

http://cvid.org/index.php?page=photos

Any help is much appreciated.

I'm using Lanai and Album 8.0.2

K

UPDATE: I have resorted to reinstalling the entire thing, module, template, albums, etc. I will post the result here.
Last edited by holybuzz on Mon Mar 12, 2007 4:19 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: "Album" displays album but not thumbnails

Post by RonnyK »

K.,

what do exactly mean with :
I have associated my display page with the "Album Template Stylesheet".
Do you mean that on your template, the stylesheet is attached?

Ronny
holybuzz

Re: "Album" displays album but not thumbnails

Post by holybuzz »

Ronny,

In Layout >Templates, I selected the CSS icon to the right of my gallery page template and, yes, attached the "Album Template Stylesheet" to it. When you do so, the breadcrumb in the CMSMS Admin refers to the page as "Current Associations".

Is that right? (At this point, if someone tells me that black is white and up is down, I'm ready to believe it, just as long as it works.)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails

Post by Elijah Lofgren »

holybuzz wrote: Ronny,

In Layout >Templates, I selected the CSS icon to the right of my gallery page template and, yes, attached the "Album Template Stylesheet" to it. When you do so, the breadcrumb in the CMSMS Admin refers to the page as "Current Associations".

Is that right? (At this point, if someone tells me that black is white and up is down, I'm ready to believe it, just as long as it works.)
Yikes, sounds like you've had some frustrations with Album. I'm very sorry about that. I'd love to improve Album and make it easier to use (one way that it will be better in the next version is that the stylesheet will automatically be included on the page)

I'll try to read over your post carefully and write a response sometime today or tomorrow to see if I can help you out.

In the meantime, I'll be around and if you'd like to contact me via AIM, MSN, Yahoo, or Google Talk, just use the buttons in my profile and my Google Talk id is: elijahlofgren (at) gmail.com
I'd be glad to try to get this worked out via chat.

Later,

Elijah (going to Calc II class in an hour)

Edit: It looks like it's working for you now?
Last edited by Anonymous on Fri Mar 02, 2007 8:17 pm, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails

Post by Elijah Lofgren »

I'm going to assume that it is working now and mark this post as solved. ;)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
blaw

Re: "Album" displays album but not thumbnails [solved]

Post by blaw »

I'm having the same issue... the gallery displays, but once clicked it does not display the associated thumbnails.

http://www.rockrunrecreation.com/index.php?page=photos

If I manually change the end of the URL from 'returnid=32' to 'returnid=22' the information displays within the parent page of the page that features the album, so the information is there... I'm just unsure what I'm doing wrong to configure this properly.

Any help would be greatly appreciated.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails [solved]

Post by Elijah Lofgren »

blaw wrote: I'm having the same issue... the gallery displays, but once clicked it does not display the associated thumbnails.

http://www.rockrunrecreation.com/index.php?page=photos

If I manually change the end of the URL from 'returnid=32' to 'returnid=22' the information displays within the parent page of the page that features the album, so the information is there... I'm just unsure what I'm doing wrong to configure this properly.

Any help would be greatly appreciated.
Please go to "Content -> Photo Albums" then click on the Options tab and uncheck: "Check this box to show the content of the page with the Album tag above all pictures."

Please let me know if that works.

Thanks,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
blaw

Re: "Album" displays album but not thumbnails [still not solved]

Post by blaw »

Thank you for the prompt attention.

The "Check this box to show the content of the page with the Album tag above all pictures." is unchecked.

I did, at one point, test with the box checked, but that did not resolve the issue.

The problem must be occurring within the templates I have created for the site. When I create a gallery to appear in a modified version of the "Left simple navigation + 1 column" template, everything works fine (http://www.rockrunrecreation.com/index.php?page=gallery).
Last edited by blaw on Thu Mar 08, 2007 2:50 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: "Album" displays album but not thumbnails [still not solved]

Post by RonnyK »

Blaw,

I checked

http://www.rockrunrecreation.com/index.php?page=photos

and it seems to be working. I opened an image and it opened in the transparant view! Do you still have a problem or is it solved in the meantime.

Ronny
blaw

Re: "Album" displays album but not thumbnails [still not solved]

Post by blaw »

Thanks for checking, RonnyK. I managed to get it working, though not in the most elegant of fashions.

I had to put both {content} and {cms_module module='album'} tags in the template which displays the images, otherwise it would only show the thumbnails for the galleries. At this point I'm calling it 'done' as it works, but I'd be interested in knowing what was throwing it off.

Thanks again to RonnyK and Elijah for your attention.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails [still not solved]

Post by Elijah Lofgren »

blaw wrote: Thanks for checking, RonnyK. I managed to get it working, though not in the most elegant of fashions.

I had to put both {content} and {cms_module module='album'} tags in the template which displays the images, otherwise it would only show the thumbnails for the galleries. At this point I'm calling it 'done' as it works, but I'd be interested in knowing what was throwing it off.
Hi blaw,

I think that using the new 'Use Inline Links' option in the SVN version of Album (and the soon to be released 0.9.0 version) would probably fix this issue.

- Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: "Album" displays album but not thumbnails [solved]

Post by Greg »

Installed 0.9.0 - problems (was using .0.9.0svn4)

If I create a page type 'Photo Album' and attach more than one album all the links in the html are , if I only attach one album the links are created correctly. I get the same result if I use the tag in a content type page. Mask is set to 002, changing any of the options makes no difference. Changing the template makes no difference. Same result with CMSMS 1.1 and 1.0.6.
Greg
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails [solved]

Post by Elijah Lofgren »

Greg wrote: Installed 0.9.0 - problems (was using .0.9.0svn4)

If I create a page type 'Photo Album' and attach more than one album all the links in the html are , if I only attach one album the links are created correctly. I get the same result if I use the tag in a content type page. Mask is set to 002, changing any of the options makes no difference. Changing the template makes no difference. Same result with CMSMS 1.1 and 1.0.6.
Hi Greg,

Thanks for your bug report.

I've been unable to reproduce this problem.

Please paste the Album template that you are using.
Please paste the relevant #URL Settings from config.php

Are you sure you overwrote all Album files?

Thanks for helping me in trying to locate and fix this bug,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: "Album" displays album but not thumbnails [solved]

Post by Greg »

Elijah I am using the default template:

Code: Select all

{* Include JS files. You can move this to the head of your page template if you want *}
<!--Lightbox 2.0.2-->
<__script__ type="text/javascript" src="modules/Album/templates/db/lightbox/js/prototype.js"></__script>
<__script__ type="text/javascript" src="modules/Album/templates/db/lightbox/js/scriptaculous.js?load=effects"></__script>
<__script__ type="text/javascript" src="modules/Album/templates/db/lightbox/js/lightbox.js"></__script>
<__script__ language="javascript" type="text/javascript" src="modules/Album/templates/db/js/SMRcode.js"></__script>

{if $pictureid !=0}

{* Big Picture *}
<div style="text-align:center">
<p class="bigpicturecaption"><strong>{$picture->name}</strong><br />
{$picture->comment}<br />
<span class="bigpicturenav">
{if $link.picture.previous}<a href="{$link.picture.previous}" title="Previous picture">< Previous</a>{/if}
 <span class= "albumpicturecount">( Picture {$picturenumber}/{$picturecount} )</span> 
{if $link.picture.next}<a href="{$link.picture.next}" title="Next picture">Next ></a></span>{/if}
</p>
<a href="" onmouseover="SMR_setLink(this);" target="_blank"><img src="{$picture->picture}" alt="{$picture->name} - {$picture->comment}" onload="SMR_resize(this, {$max_image_size});" title="{$picture->name}  - {$picture->comment}" /></a>
</div>
{/if}

{* Album List *}
{if !$album}
<ul class="albumlist">
	{foreach from=$albums item=album}
	<li class="thumb">
 	<a href="{$album->link}">
<img src="{$album->thumbnail}" alt="{$album->name}" title="{$album->name} - {$album->comment}"{$album->autothumbnailsize} /></a>

<p class="albumname">{$album->name}<br />
<span class="albumpicturecount">({$album->picturecount} images)</span><br />
<span class="albumcomment">{$album->comment}</span></p>
</li>
	{/foreach}
</ul>

{else}

{* Photo List *}
<p><strong>{$album->name}</strong><br />
{$album->comment}<br />
<span class="instructiontext">Click on a thumbnail to view a larger image. Click on the close button to close it. {if $returnlink}<a href="{$returnlink}">Return to the album index page</a>{/if}</span></p>

	{if $pagecount>1}
	<p class="albumnav">
		<a href="{$link.page.first}" title="first page"><< </a>
		{if $link.page.previous}<a href="{$link.page.previous}" title="previous page">< </a>{/if}
		page {$pagenumber}/{$pagecount}
		{if $link.page.next}<a href="{$link.page.next}" title="next page"> ></a>{/if}
		<a href="{$link.page.last}" title="last page"> >></a>
	</p>
	{/if}

<ul class="picturelist">
	{foreach from=$pictures item=picturesrow}
	    {foreach from=$picturesrow item=onepicture}
	    <li class="thumb"><a href="{$onepicture->picture}" rel="lightbox[{$album->name}]" title="{$onepicture->name|escape:'html'} {if ($onepicture->comment != "")}- {$onepicture->comment|escape:'html'}{/if}"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name} - {$onepicture->comment}" title="{$onepicture->name} - {$onepicture->comment}"{$onepicture->autothumbnailsize} /></a>
   	   </li>

      {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
	    {/foreach}
	{/foreach}
</ul>

{if $picturecount==0}No image{/if}
{/if}

{if $picture->id>0}
{/if}
<div style="clear:both"></div> 
coinfig.php shows nothing unusual:

Code: Select all

#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = 'D:\AAAWeb\cms\uploads\images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images'; 
I also tried uninstalling the album module an re-installing. Re-created all the albums. Cleared the cache. ?
Other templates have the same result.

Firefox shows an error in jquery.js
$.ready is not a function
(no name)()jquery.js (line 1018)
[Break on this error] $.ready();
Last edited by Greg on Sun May 13, 2007 10:30 pm, edited 1 time in total.
Greg
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: "Album" displays album but not thumbnails [solved]

Post by Elijah Lofgren »

Greg wrote: Installed 0.9.0 - problems (was using .0.9.0svn4)

If I create a page type 'Photo Album' and attach more than one album all the links in the html are , if I only attach one album the links are created correctly. I get the same result if I use the tag in a content type page. Mask is set to 002, changing any of the options makes no difference. Changing the template makes no difference. Same result with CMSMS 1.1 and 1.0.6.
Hi Greg,
Thanks for all the work you do that helps Album by reporting, testing, and verifying bugs.

It turns out this bug only occurred on PHP4. I was able to reproduce and fix it.
I've released Album 0.9.1 which should fix this bug. You can download it here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=852

Let me know if you find any more problems.

Thanks,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “Modules/Add-Ons”