forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: AlexBarTender on December 10, 2008, 05:03:29 am

Title: How Can I change the order of images?
Post by: AlexBarTender on December 10, 2008, 05:03:29 am
Hi, How can I do that? I wanna sort by name my images.

I mean, I see in the gallery: Pic 1, Pic 2, Pic 3....

If I wanna see in this order: Pic 2, Pic 1, Pic 8.

How can I do that?

Thanks
Title: Re: How Can I change the order of images?
Post by: Hein Traag on December 10, 2008, 10:31:39 am
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user_mode (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_user_mode) - read the "Sort my pictures" part of the documentation.
Title: Re: How Can I change the order of images?
Post by: AlexBarTender on December 10, 2008, 01:56:59 pm
Thanks for your reply.

But I need do that for an specific album. How can I do that?
Title: Re: How Can I change the order of images?
Post by: Nibbler on December 10, 2008, 03:24:06 pm
Use the "sort my pictures" feature as suggested.

# Sort my pictures

Picture manager that can be used to custom-sort files within an album. By default, the thumbnail page that displays the contents of an album will be sorted by the sorting order specified in "Default sort order for files" on the config page. The "sort my pictures" option overrides the default sorting mechanism and displays the thumbnails in the order you specify. As this means an additional effort in the maintenance of each album, it's recommended to use the default sorting by filename and (instead of specifying a custom sort order) and naming the files appropriately before upload.

Note: each user (including the admin) can use the sorting controls on the album's thumbnails display page to manually override the sorting option that was specified in coppermine's config and the "Sort my pictures" option; this final method of changing the sort order is stored locally in a cookie of the client and reverts to the config settings when this cookie is discarded.