Sorting Images

Just a reminder; when you send in images, other than competition and evaluation ones, for display at the club you have to control the order they are displayed in. It isn’t enough to attach them to your email in a certain order; there is no guarantee that they will display in the same order, in fact it’s likely that they won’t.

You can make sure your images will be displayed in the order you want by adding prefixes to the file names; when displaying images we sort them by name so this will make sure that they are sorted correctly. Numbers usually make the best sorting prefixes although alphabetic prefixes, or a combination can work too. If you do use numbers make sure that you pad them with leading zeros; for instance if you have from 10 to 99 images, prefix the first nine with 01-09 rather than 1-9 as 10_Title sorts before 1_Title.

Published by Steve Crane

Programmer and amateur photographer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: