? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
10 Apr 2021

#31048 added support for webp images however it was not complete. MediaHelper::isImage was not updated to support webp. As a result while webp could be added to media manager as an allowed image format everything worked except for the display of the thumbnail.

As this PR fixes that we might as well add webp to the default list of supported image formats.

To test

  1. either do a fresh install with the prebuilt package OR apply this pr, run npm ci and go to the media manager options. delete all the values in the Legal Extensions (File Types), Legal Image Extensions (File Types) and Legal MIME Types and then save the options. This will reset the value to the new defaults.
  2. Try to upload any webp image
  3. Try to crop and resize the image
  4. Try to rename the image
  5. Get a shareable link and make sure it works

Before

image

After

image

avatar brianteeman brianteeman - open - 10 Apr 2021
avatar brianteeman brianteeman - change - 10 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2021
Category Administration com_media NPM Change Repository SQL Installation Postgresql Libraries
avatar sandramay0905
sandramay0905 - comment - 11 Apr 2021

@brianteeman on a fresh install using launch.joomla.org i did a Upload & Update using a prebuilt package.

Upload of webp-image works, not crop and resize as the changes are not saved.

I didn't test further cause i didn't do the test instructions "do a fresh install with the prebuilt package OR apply this pr, run npm" and i guessed thats why the changes are not saved.

If my guess is wrong i can mark the test as unsuccessfully.

avatar brianteeman
brianteeman - comment - 11 Apr 2021

I didn't test further cause i didn't do the test instructions "do a fresh install with the prebuilt package OR apply this pr, run npm" and i guessed thats why the changes are not saved.

Without following those test instructions it wont work

avatar brianteeman brianteeman - change - 14 Apr 2021
Labels Added: NPM Resource Changed ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2021
Category Administration com_media NPM Change Repository SQL Installation Postgresql Libraries Administration com_admin SQL Postgresql com_banners com_cache com_categories
avatar brianteeman
brianteeman - comment - 2 May 2021

closed - will make new pr

avatar brianteeman brianteeman - change - 2 May 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-05-02 08:33:25
Closed_By brianteeman
Labels Removed: NPM Resource Changed
avatar brianteeman brianteeman - close - 2 May 2021

Add a Comment

Login with GitHub to post a comment