#1 2024-10-11 02:36:27

hellothere
Member
2024-10-11
1

.webp and video files

Hello/Hi/Greetings,

A little help, please?

I'm unable to upload any .webp files.  It looks like it uploads, then it shows the "picture not found" icon.  No picture appears.

I've tried a bunch of things:

* Made sure my server supports .webp (i.e. built and ran a phpinfo.php file and .webp is listed)
* Edited config.inc.php to include .webp
* Updated my .htaccess file in my Piwigo directory to include AddType image/webp .webp
* Checked and I'm not running GrumPluginClasses or ImageMagick plugins
* Modified admin/include/functions_upload.inc.php to include $valid_extensions = array('jpg', 'jpeg', 'png', 'gif', 'webp');
* Updated PHP as high as I can (8.1.3)
* ImageMagick doesn't look like it's installed.  GD is 2.1 compatible and that should be compatible with .webp.

For the video portion of this post, I can't even upload one.  "Invalid File Extension."

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

    Piwigo 14.5.0 Check for upgrade
    Installed on 11 September 2014, 10 years 4 weeks ago
    Operating system: Linux
    PHP: 8.1.30 (Show info) [2024-10-10 17:28:48]
    MySQL: 10.6.19-MariaDB [2024-10-10 17:28:48]
    Graphics Library: GD bundled (2.1.0 compatible)
    Cache size 0 Mo   calculated 2 months ago Refresh

Activated plugin list 10

    Additional Pages
    Admin Tools
    EditorPlus
    Extended Description
    gdThumb (turning this off doesn't help)
    Header Manager
    Language Switch
    LocalFiles Editor
    Perso Footer
    PWG Stuffs

Piwigo URL: https://bassic-sax.info/pix

Offline

 

#2 2024-10-11 11:08:00

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14048

Re: .webp and video files

Hi

hellothere wrote:

* ImageMagick doesn't look like it's installed.  GD is 2.1 compatible and that should be compatible with .webp.

I'm pretty sure it's the problem. I don't remember we have implemented the WEPB resize with GD.

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact