forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gelaskimgel on October 16, 2006, 05:28:36 pm

Title: Shows the wrong image, why?
Post by: gelaskimgel on October 16, 2006, 05:28:36 pm
Hi all

My problem is that, when I fx. add 10 picture in a album, then if I click at the picture number 5, then it shows another image instead off showing me number 5. It happens with all the image in a album... But when I have click at one image and I'm on displayimage.php file, then if I click on a image down under the big image, then it shows me the right image.. It only happens when I click on the image in album files... Does anybody have an idea about what the problem is?

Please help... Many Thanks
Title: Re: Shows the wrong image, why?
Post by: Joachim Müller on October 16, 2006, 09:49:52 pm
Posting a link to your coppermine-driven gallery might be a good start. ::)
Title: Re: Shows the wrong image, why?
Post by: gelaskimgel on October 16, 2006, 10:22:22 pm
okay sorry,, did not think on that :)

here can you see a example: http://www.detbrodent.lir.dk/thumbnails.php?album=8 (http://www.detbrodent.lir.dk/thumbnails.php?album=8) Try clicking on one image, then it does not show up the image that you did click on.
Title: Re: Shows the wrong image, why?
Post by: gelaskimgel on October 16, 2006, 11:11:29 pm
any Idea GauGau?
Title: Re: Shows the wrong image, why?
Post by: Joachim Müller on October 17, 2006, 08:18:15 am
You appear to be running cpg1.4.8 - upgrade to the most recent version cpg1.4.9.

any Idea GauGau?
This is not a hotline (http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#lamesupport)! >:(
Title: Re: Shows the wrong image, why?
Post by: Abbas Ali on October 17, 2006, 09:21:18 am
Did you modified any of the files? The URLs which are generating for thumbs are all wrong. The first thumb should have a url with pos=0 but in your case it starts with pos=37 and since there are only 17 photos in that album it always show the last image (for any pos > 17).
Title: Re: Shows the wrong image, why?
Post by: gelaskimgel on October 17, 2006, 12:37:40 pm
yes abbas ali, I have modified some files, but can't remember which file it is... But when I'm saying modified, then its only the design... Can you tell me where the urls to the thumbs are? So I can change that back?

Yes GauGau I'm running 1.48 version. I'm affraid for loosing my design if I upgrade...
Title: Re: Shows the wrong image, why?
Post by: gelaskimgel on October 17, 2006, 12:55:51 pm
I found out what the problem was... It works now :9 Thanks every one for you help :) It was the link generator in themes.inc.php like Abbas Ali said... I've just toke the link from 1.49 version and copied over to the edited version on 1.48.

Many Thansk everyone.
Title: Re: Shows the wrong image, why?
Post by: Sami on October 17, 2006, 12:57:52 pm
Upgrade process won't tuch your custom theme at all
just do as suggested under upgrade documentation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14) and you'll be fine