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: non-changing url's to images within gallery's  (Read 2463 times)

0 Members and 1 Guest are viewing this topic.

Artdroid

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • http://www.artdroid.com
non-changing url's to images within gallery's
« on: March 06, 2004, 03:08:48 pm »

http://www.artdroid.com/mindseye/displayimage.php?album=22&pos=4

Should be an old b&w photo to a new first time user.    Problem is...  I've noticed that if a user has visited the site before and switched his image listing order to "filename" or "date" then they'll see a different image.

That's a problem for me.   I participate in several weekly photo challenge type sites where you need to submit a link for your photo submission.   Where an image shown for a submitted URL may change due to some user setting a person could be seeing an image that I did not intend to use for that purpose.

I pointed a person to the image  above and they had their prefs set for "date" listing and they saw a beach photo rather than the B&W image.

Am I missing something concerning static non-changing links?
Logged
-------------------------------
http://www.artdroid.com

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
non-changing url's to images within gallery's
« Reply #1 on: March 06, 2004, 04:41:27 pm »

You are not using the fixed url, as your url is dependant on the album, like this;

Code: [Select]
http://www.artdroid.com/mindseye/displayimage.php?album=22&pos=4

The fixed url is independant of the album, like this;

Code: [Select]
http://www.artdroid.com/mindseye/displayimage.php?pos=-245

You can get the fixed url by displaying the pic information.  The above url is for the beach pic, and will not change.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Artdroid

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • http://www.artdroid.com
non-changing url's to images within gallery's
« Reply #2 on: March 06, 2004, 10:30:28 pm »

ah.   I've been keeping the picture info hidden to keep things cleaner.   That should help greatly.   Thanks.
Logged
-------------------------------
http://www.artdroid.com

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
non-changing url's to images within gallery's
« Reply #3 on: March 07, 2004, 10:17:03 am »

You can keep it hidden still, just click on the little 'i' icon when you need to see it.  That's all I did to get the url of your beach pic.  :wink:
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Artdroid

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • http://www.artdroid.com
non-changing url's to images within gallery's
« Reply #4 on: March 07, 2004, 02:32:42 pm »

Ya,  I was just stating that I'd kept it close to explain why I hadn't noticed it.
Logged
-------------------------------
http://www.artdroid.com
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 18 queries.