Greetings,
A more advanced coder than myself would probably find this a stupid question, but a solution would mean a lot to me.
I'm adding a bunch of photos and audio files to a ZenPhoto gallery, and I would rather have a thumbnail for the audio files instead of the placeholder image that Zen uses (like album art or something). For ease of searching, I will tag all audio files as well.
That said: is it possible for there to be some designation in the thumbnail pages that the file is an audio file? Some sort of routine that says "if extension is mp3, add an audio icon next to the title" or something? Where does Zen decide to use that placeholder thumbnail with the musical notes on it? Could I take advantage of that routine?
Comments
`
$ext = strtolower(strrchr($_zp_current_image->filename, "."));
if ($ext == ".mp3") {
here print an special image that you store in your theme's folder for example.
}
`
Also you can have special video thumbnails for multimedia items (video because audio came later):
http://www.zenphoto.org/2008/08/troubleshooting-zenphoto/#19