WebP and SVN format images on OMP and OJS

hello friends,
How would the necessary changes be in order for OMP and OJS to accept WebP & SVN images?


Hi @dagosalas, WebP and SVN images are accepted, along with any image/* mimetype, wherever the FieldUploadImage control is used (eg - Settings > Website > Appearance). Can you say more about what version you are running and where you want to upload these images?

Hi @NateWr ,
Sure! It´s OMP
Look at this when try to assign a webp image to cover book:
Screen Shot 2021-10-25 at 16.59.11

And the error.log shows:

Screen Shot 2021-10-25 at 17.02.09

Thanks @dagosalas, that helps. I thought you meant the upload field, but it looks like this is failing when OMP tries to make a thumbnail of the image (OJS/OPS do not make thumbnails). I’ve filed an issue for this here:

It’s a fairly straightforward fix and I’ve included some details to help find the relevant file. Would you be able to create and test a fix, and then open a PR to the stable-3_3_0 branch? If not, no worries I just thought I’d check.

1 Like