Correct me if i'm wrong, but when a picture is a jpg, it calls the jpg.html file from the templates/default/media/
Would it be possible to have an option, perhaps from the users control panel, or directly from the details page, where a different file could be called, for example jpg_effect.html , and display the picture with the options from in that file.
Hopefully that was clear on how it was written.
Matt