Shows the wrong image, why? Shows the wrong image, why?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Shows the wrong image, why?

Started by gelaskimgel, October 16, 2006, 05:28:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gelaskimgel

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

Joachim Müller

Posting a link to your coppermine-driven gallery might be a good start. ::)

gelaskimgel

okay sorry,, did not think on that :)

here can you see a example: 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.

gelaskimgel


Joachim Müller

You appear to be running cpg1.4.8 - upgrade to the most recent version cpg1.4.9.

Quote from: gelaskimgel on October 16, 2006, 11:11:29 PM
any Idea GauGau?
This is not a hotline! >:(

Abbas Ali

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).
Chief Geek at Ranium Systems

gelaskimgel

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...

gelaskimgel

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.

Sami

Upgrade process won't tuch your custom theme at all
just do as suggested under upgrade documentation and you'll be fine
‍I don't answer to PM with support question
Please post your issue to related board