Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: url changes when a new photo is added to an album  (Read 2051 times)

0 Members and 1 Guest are viewing this topic.

a_n_n_a_m

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: url changes when a new photo is added to an album
« on: April 04, 2008, 06:21:15 pm »

hi. im quite sure this is not a bug but the way the gallery works, i was just wondering if there was any way to change this.

when you add a new photo to an album, all the links in that album are updated because the new photo is added to the front of the album.

in other words, if an album contains two photos with these links:

displayimage.php?album=132&pos=0
displayimage.php?album=132&pos=1 ,

when a new photo is added, the new photo will have the link

displayimage.php?album=132&pos=0

and the older ones will change to

displayimage.php?album=132&pos=1
displayimage.php?album=132&pos=2 respectively!

this is extremely frustrating as it means that no link can ever be given for a photo, as it is really likely to change within minutes/hours!

is there any way to change this?? i have version 1.4.14 .. perhaps it has already been resolved in .15/.16?

many tnx!
anna
« Last Edit: April 04, 2008, 06:59:47 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: url changes when a new photo is added to an album
« Reply #1 on: April 04, 2008, 06:26:26 pm »

You should update anyway. To link to an image you should use the static links that are in the picture info section below the picture in intermediate view. You may have set this to be hidden by default. The link looks like displayimage.php?pos=-123 which refers to the id of the pic and will never change.
Logged

a_n_n_a_m

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: url changes when a new photo is added to an album
« Reply #2 on: April 04, 2008, 06:59:03 pm »

tnx  :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.