Thumbs file name control?

Phoca Gallery - image gallery extension
gwmbox
Phoca Member
Phoca Member
Posts: 36
Joined: 20 Sep 2009, 06:42
Location: Western Australia
Contact:

Thumbs file name control?

Post by gwmbox »

Is there a way you can control the file names of the thumbs that are created, i.e. be able to set a title format for the generated thumbnails.

At the moment it adds something like phoca_thumb_ and then an s, m or l for the sizes, and then the files name, but what would be better is if we could have the name first, then maybe category and then thumb_ with the s, m or l at the end.

Example, I upload a photo named myphoto.jpg.
At the moment phoca will name the thumbs as phoca_thumb_s_myphoto.jpg

What I would like to do is have myphoto_thumb_s.jpg or with the category so like myphoto_category_thumb_s.jpg

So can this be done? If not maybe its an option to add to a future version.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbs file name control?

Post by Jan »

Hi, this needs to be be customized, the strings are used to be uniqe and not colidate with possible other items :-( :-(

Jan
If you find Phoca extensions useful, please support the project
gwmbox
Phoca Member
Phoca Member
Posts: 36
Joined: 20 Sep 2009, 06:42
Location: Western Australia
Contact:

Re: Thumbs file name control?

Post by gwmbox »

Thanks Jan, where would I customise that? If it is simple then I can make a record of where the update was made and any future updates for PG I can check and re make the adjustment.

Cheers
Post Reply