Hello/Hi/Greetings, Can i somehow upload thumbnails to videos on manually. My server wount support ffmpeg, mediainfo, etc, and cant install those.
Piwigo version: 2.10
PHP version:
MySQL version:
Piwigo URL: http://
Offline
You can manually FTP upload representatives into an accompanying pwg_representative/ directory, for example if there is a video upload/2020/05/02/filename.mp4 then the representative would be upload/2020/05/02/pwg_representative/filename.jpg
Copy the index.html from the parent directory into the pwg_representative/ directory to prevent directory listing regardless of how your server's indexes option is set.
Offline
Ah darn, I forgot, it needs an entry in the database as well, table piwigo_images field representative_ext the filename extension e.g. jpg (which would happen if you synced from an FTP folder or had it generated from the video which you can't).
[extension by plg] Photo Update is said to be able to update the representative, I never tried.
Offline
Im not expert on Mysql/Myphp, But did not get it work. I did this.
I tried that addon, but it only seem to work images, not thumbnails, so i cant change default icon to my upload.
Last edited by Kristian77 (2020-05-02 16:18:39)
Offline
Looking at plugins/photo_update/admin.php source code it also enters width and height of the representative to the database, but I don't know if that is necessary to have it displayed at all.
As it does that if ('representative' == $file_to_update) my guess is it offers to upload a representative as well if you upload/update the main file, I didn't investigate deeply.
Shrug, I'd rather kick the hosting provider who doesn't want to install ffmpeg.
Offline