Open JulianWebb opened 2 years ago
The cause of this issue appears to be a lack of case-handling for .webp
images in /comiccontrol/ajax/img-uploader.php
. Implementing imagewebp() there would likely solve the issue.
adding the follow case seems to cause it to function correctly:
case 'webp': imagewebp($slate, $uploadFilename, 100); break;
Yes I added that to my fork of comiccontrol and can confirm it does the job.
ComicControl v4.2.9
Description of Problem
When uploading a
.webp
image, ComicControl will successfully upload the image to the site, however it will not generate a thumbnail nor give an error.Steps to Reproduce
/comiccontrol/image-library
.webp
image (I would attach one but Github doesn't support them, ironic)