Topic: rename files

I am using Showkase 1.2.0 with Juicebox as my viewer. I want to rename files in already existing galleries so they have descriptive names for better search engine results. I am not seeing a way to rename them within Showkase. I tried renaming one file directly in the image folder via the server's FTP site, but it caused Showkase to no longer see the picture.

I realize using a title or caption for each picture may help improve SEO, but I would rather not have the names visible as the galleries are viewed (just personal preference). Is there a way that I can manually rename them without starting all over with everything?

Thanks for any ideas or solution you may be able to think of!

Re: rename files

It is not possible to rename image files within the Showkase interface for a gallery which has already been created.

Perhaps the best course of action would be to use the SEO functionality available in Juicebox-Pro galleries.
You can assign image titles and/or captions to individual images and then:
(1) Set captionPosition="NONE" (in the 'Pro -> Caption' section of the Juicebox gallery page) so that the titles and captions are not visible in the gallery.
(2) Select the Add SEO Content checkbox (in the 'Gallery Lite Options' section of the Juicebox gallery page).

The image titles and captions will not be visible in the gallery but they will be used in the SEO code on the gallery's HTML page in the following form.

<img title="image_title" alt="image_caption" src="/showkase/gallery/images/image.jpg">

Re: rename files

Sounds like that may work- I'll give it a try. Thanks!

Re: rename files

Overall it worked well, but I do have a a follow-up question. There was some portfolio pages where I chose to download the files from the Image folder via FTP, rename then and then through Showkase I selected the same exact pictures that were renamed and uploaded them again. When renaming then on my desktop I had right clicked the name and entered the new name. Now when I look at the file size I notice that the files sizes have grown (nearly doubled) for each picture. Why would this upload process cause the files to increase so large? I understand the name may have a small insignificant affect on file size, but each one almost doubling seems odd.

Re: rename files

Just to clarify, the file sizes on my desktop are exactly the same as what the files were in the Image folder. It's only after uploading through Showkase that they are so much larger in comparison to what they are on my desktop.

Re: rename files

When uploading images within the Showkase interface, Showkase uses the maximum quality value of 100% by default when resizing the images.
If you deselect the 'Resize images' checkbox in the upload module, the images will not be processed at all and will remain at their original file sizes (and resolutions).

Alternatively, you could change the quality setting by opening the showkase\admin\settings\constants.php file in a plain text editor and editing the 'IMAGE_QUALITY' value on line 52.
Please note that the line number above refers to the current version of Showkase (v1.2.0).

Incidentally, changing the name of a file will not alter its file size at all.