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: Re-sorting an album  (Read 3043 times)

0 Members and 1 Guest are viewing this topic.

ricks

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re-sorting an album
« on: May 18, 2017, 07:22:52 pm »

I have an album of several thousands pics. They are all named <yyyymmdd>-filename, and when I uploaded them they all uploaded in order, and then display in order.

I just uploaded several hundred more pics to the album, and they all (unsurprisingly) display at the bottom. I want to resort the album by filename, and moving several hundred pics one at a time to the right location is impractical.

Is there a way to resort an album by filename within the web interface? If not, can someone point me to a SQL command to do that within phpmyadmin?

Thanks!
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Re-sorting an album
« Reply #1 on: May 18, 2017, 07:36:24 pm »

There are numerous ways to sort images and albums outlined in the docs http://documentation.coppermine-gallery.net/en/admin_menu.htm#sort_my_pictures

These can also be overridden by the user clicking the sort buttons in the front end.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Re-sorting an album
« Reply #2 on: July 03, 2017, 03:28:59 pm »

Is there a way to resort an album by filename

Setting the default sort order for files to "Filename" should do the trick: http://documentation.coppermine-gallery.net/en/configuration.htm#admin_thumbnail_default_sortorder
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.