JoomGalleryfriends / JG4-dev

Development repository for JoomGallery v4.x
GNU General Public License v3.0
10 stars 6 forks source link

Add support for webp images #70

Closed MrMusic closed 1 year ago

MrMusic commented 1 year ago

This pr adds the webp support as in JG 3.6.0 It is a redo from https://github.com/JoomGalleryfriends/JoomGallery/pull/102 for JG4. With this it should be possible to upload webp images.

Additionally was fixed the wrong hint 'GD library not found' https://github.com/JoomGalleryfriends/JG4-dev/issues/61

szepty-ziemi commented 1 year ago

It works well with GD, except animated webp. Uploading animated webp ends with 500 error. Are animated webp supported anyway?

With IM I get:

obraz

MrMusic commented 1 year ago

Are animated webp supported anyway?

Sorry, currently not.

With IM I get:

Do you use ImageMagick v6? Then you must also insert this fix (line 934) in 'administrator/com_joomgallery/src/Service/IMGtools/IMtools.php' manually.

Elfangor93 commented 1 year ago

@MrMusic could you update this PR based on main branch which now includes changes from PR #74. This way also IM could be tested for successful functionality.

MrMusic commented 1 year ago

@Elfangor93 : Done.

Elfangor93 commented 1 year ago

Thank you very much for this feature!