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: 'Sort my pictures' not working with pictures using album keywords  (Read 2172 times)

0 Members and 1 Guest are viewing this topic.

lucitphoto

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20

When I try to sort the sequence of pictures in an album, I'm unable to sort pictures that share a keyword with another album. I understand these pictures won't appear in 'Edit files' or 'Sort my pictures' in the hosting album, since they're keywords pointing to a picture in the database. Is there some way to sort all of the pictures in an album, including pictures using keywords?

E.g. This album has only 25 original pictures, the rest are keyword links, that I'm unable to sort: http://www.lucitphoto.com/thumbnails.php?album=143   
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: 'Sort my pictures' not working with pictures using album keywords
« Reply #1 on: January 17, 2013, 02:20:47 pm »

Some technical background. If you sort pictures, Coppermine stores the order in the database field "position" at the pictures table for each picture. As this value is stored just once per picture, the sort order of the pictures will change in all album where the picture occurs. Regarding linked pictures collisions can occur (means, the same value for "position"). In this case, the picture ID is used as second criteria for sorting the pictures.

If this doesn't matter in your gallery, we can try to display the linked pictures in "Sort my pictures".
Logged

lucitphoto

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: 'Sort my pictures' not working with pictures using album keywords
« Reply #2 on: January 18, 2013, 02:19:32 pm »

After due consideration, it would be more practical for me to simply upload the image (again) for each album as a discreet entry in the database. I can then change the title and description as well the the position.  Thanks for your help, André... much appreciated! 
Logged
Pages: [1]   Go Up
 

Page created in 0.06 seconds with 19 queries.