You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a poster (i.e. a thumbnail) for a video file, this is done in the directory
[original location of the video]/pwg_representative
However, on my system the directory with (original) image and video files is not writable by the webserver (which is running as wwwrun:www), so when this plugin creates a video poster, I get the warning "Warning: mkdir(): Permission denied in /srv/www/htdocs/piwigo/plugins/piwigo-videojs/include/function_sync2.php on line 132".
Can an option be made to create the video poster in the piwigo cache directory .../_data/i/galleries/..., which is writable by the webserver? Thanks.
Example:
original file:
/data-hdd/images/2016/dirname/videoname.mp4
now, the poster is created in
/data-hdd/images/2016/dirname/pwg_representative/videoname.jpg
however the directory /data-hdd/images/2016/dirname/ is not writable by the webserver, so an error is generated.
my proposal is to create the poster in
/data-hdd/piwigo/_data/i/galleries/2016/dirname/pwg_representative/videoname.jpg
which is writable by the webserver.
Xyaren, Qub1, Idefix1977, Arnie97, tamboekie and 2 more