image-resizer icon indicating copy to clipboard operation
image-resizer copied to clipboard

Resize on upload not working

Open reasonadmin opened this issue 2 months ago • 6 comments

Describe the bug

I have tried many different large images and different formats but none of the images are resizing on upload even though I have it switched on in my settings. Resizing images using the bulk resizing function does work however.

I see this message in my logs:

upload68f25fbf39b146.66030315.jpg | skipped Image cannot be resized (not manipulatable). | 17/10/2025 16:24 -- | -- | --

Steps to reproduce

  1. Install plugin
  2. Upload image
  3. See the image is still full size and wider and higher than set dimensions in setting

Craft CMS version

5.8.18

Plugin version

4.0.4

Multi-site?

No

Additional context

Image

reasonadmin avatar Oct 17 '25 15:10 reasonadmin

That seems strange, as we use the Craft helper canManipulateAsImage for that. The only thought I had was maybe it doesn't like the extra full-stop in the filename, but I can't replicate that on my end at least.

Maybe if you want to send that image through to [email protected] I can see if there's anything odd about that image?

engram-design avatar Oct 18 '25 00:10 engram-design

Thanks @engram-design, I have screen recorded the issue and I will send the image used to the email address.

https://github.com/user-attachments/assets/465e72ba-de9b-4bb9-b321-54c241fb5959

reasonadmin avatar Oct 20 '25 15:10 reasonadmin

Thanks for sending that through, and for the video. Unfortunately, that's worked for me Resized successfully. Saved 97% (10.01mb).

Can you shoot through the "Image driver & version" you site uses (Utilities > System Report)?

engram-design avatar Oct 23 '25 01:10 engram-design

Image driver & version | GD 8.2.29

mark-reason avatar Oct 23 '25 10:10 mark-reason

Thanks for confirming, I was on Imagick 3.8.0 (ImageMagick 7.1.0-23), but also tested with GD 8.2.29 and things are working.

I don't suppose it's an environmental thing? Does this happen on dev, and production?

engram-design avatar Oct 29 '25 01:10 engram-design

@engram-design I get the same thing on both of my dev and production environments, it is hosted on Craft Cloud.

mark-reason avatar Nov 03 '25 10:11 mark-reason