Options

Problem with autosort feature...

SkatingzooyorkSkatingzooyork Registered Users Posts: 18 Big grins
edited February 4, 2010 in SmugMug Support
So I just uploaded 149 images. They were all named "WEB-1.jpg" thru "WEB-149.jpg"

I thought this would be a pretty simple to autosort but when I arranged them by filename it didn't work, and when I tried numerical that didn't work either.

Any ideas? I've gone ahead and sorted them by upload date and that got it "close" but I still have to move around at least 20 pictures...

Help!! I have another 300 to upload in another gallery and I REALLY don't want to have to do it all by hand!

Comments

  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited February 4, 2010
    Alpha sort is pure alphabetical and WEB-2 comes after WEB-149 in an alphabetical sort.

    The only way I've found to make numeric sorts work in an alphabetical system is to zero pad the numbers so all numbers are the same length with leading zeroes. In that way: WEB-002 will sort before WEB-149 like it should.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
Sign In or Register to comment.