Topic: remove .jpg suffix?


What I want to do is this: I'd like the captions not to have .jpg at the end, so it's just the image name. I've tried removing it from the source names, but the script puts it back on. I've also tried removing it once the gallery is built bot no joy there either.

Is there any way to do this?

Re: remove .jpg suffix?

You either need to edit gallery.xml and remove the .jpg from the captions or you need to edit the script that is used to create the gallery. Depending on which script you are using you may or may not be able to drop the jpg there.

Try opening gallery.xml in notepad and using find and replace to remove the jpg extension form the captions.

Find: .jpg</caption> and Replace </caption>

Finally save gallery.xml, upload and clear your browsers cache.

Mike Richards
SimpleViewer Support Team.