forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Tranz on February 28, 2005, 12:15:56 am

Title: some meta albums: No image to display
Post by: Tranz on February 28, 2005, 12:15:56 am
When I click on a thumb from a "top rated" meta album, it says:
Quote
No image to display

I tried this suggestion  (http://forum.coppermine-gallery.net/index.php?topic=12698.msg58794#msg58794)and it didn't work.

I tried with an image with 3 votes.
Title: Re: Top Rated: No image to display
Post by: kegobeer on February 28, 2005, 12:30:12 am
It's not just that meta album.  Last uploads and Most viewed also has the same issue, but only if you click them while inside of an album.  I think it's because the images are being pulled from all images and not just the album you are in.  Since there's no image that corresponds to the URL, the error message is displayed.

I don't know about last comments - haven't tried it yet - but I wager the same problem exists.
Title: Re: Top Rated: No image to display
Post by: Tranz on February 28, 2005, 12:58:39 am
You're right about last uploads and most viewed.

Last comments is ok.
Title: Re: Top Rated: No image to display
Post by: kegobeer on February 28, 2005, 01:44:37 am
I think it's where the $META_ALBUM_SET is defined.  As far as I can tell, there are no album restrictions being passed into the $META_ALBUM_SET variable.
Title: Re: some meta albums: No image to display
Post by: donnoman on March 01, 2005, 05:35:49 am
META_ALBUM_SET should be all albums the current CAT and below, with the exception of any FORBIDDEN_SET albums.

I'm looking into this.
Title: Re: some meta albums: No image to display
Post by: donnoman on March 01, 2005, 07:32:09 am
$META_ALBUM_SET wasn't getting set at all on the thumbnails page, and it was allowing pic's from the private albums get mixed in. That was throwing off all the positions.

I just comitted a fix, if you can test again I'd appreciate it.
Title: Re: some meta albums: No image to display
Post by: kegobeer on March 01, 2005, 12:48:58 pm
Works for me.