hi
as I can see there https://www.zenphoto.org/news/features/#manage-image-video-and-audio-files, mp4 video files are supposed to be supported by zenphoto.
so, I uploaded a mp4 file but there there is wrong thumbnail for it:
you can here: https://test.vincentbourganel.fr/images/illustrations/
can you help me?
ps: I have the issue with mp3 files and text files
Sidecar images (which their actual name is since it is not for videos only) are not exactly sized since they are just default placeholder images. They are small and ZP does not resize images that are smaller than the requested size by default. You should upload your own sidecar images, e.g. a screenshot of the video, which then would be sized correctly.
ok, thanks
found dinfos here : https://www.zenphoto.org/news/problems-with-albums-and-images/#------thumbnails-for-videos-or-other-non-standard-
is there a way to change these placeholder images with another ones from my theme?
Yes, place images with the same names as the originals (within class-video) within an images folder within your theme. But note that these still may not exactly behave like real images. Better is always if the user of the site uploads real custom sidecar images.
do you mean to have images called mp4Default.png, mp3Default.png, textDefault.png... in the images folder of my theme?
of course have real images is better, but my idea is to have correct placeholder for my theme.
it doesn't work.
tested with basic theme and a mp3Default.png added in images folder.
I used a png files from here: https://www.pngrepo.com/vectors/mp3/
and you can see the result here: https://test.vincentbourganel.fr/images/illustrations/page/2/
there is a dark picture for the 'La panse de brebis farci" mp3 file.
I see the mp3 image here:
https://test.vincentbourganel.fr/images/illustrations/
that is not the right image (I remove it).
see here, the only mp3 file: https://test.vincentbourganel.fr/images/illustrations/page/2/
sorry, there is an unpublished album with unpublished pictures.
so, now, you can see only one thumb: http://test.vincentbourganel.fr/images/illustrations/
as told before:
I added mp3Default.png in images folder of basic theme (I used this png file https://www.pngrepo.com/svg/86227/mp3 renamed to mp3Default.png)
but there is a dark picture for this mp3 file.
For your info: Alphatransparency with png(24) does not work with GD. GD generally is capable of doing it although older version had alphatransparency support disabled. It must be a bug somewhere because transparent watermarks do work.
It all works correctly with Imagick though.
Fred, thanks for the info.
It works well like that and I can have a personnal placeholder for non image format: https://test.vincentbourganel.fr/images/illustrations/