thumbnail for video plugin

hi,

for example, my video clip named myvideo.mp4

zenphoto always look for myvideo.jpg (or .png or other supported image format) in the same album foler, if it does exist, then create small thumbnail as usual.

in my case, my albums folder are the mirror of my photo/video repository (headquarter), i would like to keep my repository clean and pure, so i would not like any extra item exists.

my question is, can we put myvideo.jpg in cache folder instead of album folder, and make zenphoto to look for it for creating small thuumbnail as usual?

thx a lot in advance!

Comments

  • acrylian Administrator, Developer
    You mean you want to replace the default video thumb image? You can either replace the image in `zp-core/plugins/class-video/class-video/multimediaDefault.png` or even better you can place an image of the same name within the `images` folder within your theme's folder.
  • hi acrylian,

    sorry i am not meaning to replace zenphoto default logo, i would like to change the way which zenphoto looks for videothumb of video.

    please consider the following case:
    i have a video at:
    /album/subalbum/myvideo.mp4

    if i would like to let zenphoto to create thumbnail for myvidep.mp4, i have to place a extra image file, myvido.jpg together with myvide.mp4, that is /album/subalbum/myvideo.jpg

    since i would like to keep my album clean, and do not want any extra item in my album,
    so i would like to place myvideo.jpg outside from /album/subalbum, for example, place to /cache/album/subalbum/myvideo.jpg is a good practice.

    my question is, how to make zenphoto to change the location which look for myvideo.jpg (or .png etc) for creating thumbnail.

    sorry for my poor english and made you misunderstand what i said.
  • acrylian Administrator, Developer
    I don't understand why it is an issue to have an image of the same name within the album. It will not be displayed except for the thumbnail. Anyway, if you want to change that behaviour and think it is worth the work you will have to write your own function to search for an image elsewhere and modify your theme to use it instead of the standard way.
  • hi acrylian,

    i understand, thx for your advice.
Sign In or Register to comment.