Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: url changes when a new photo is added to an album  (Read 1724 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.017 seconds with 21 queries.