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

"skipped-under-limits" error when running Resize on specific image

Open kblizeck opened this issue 5 years ago • 1 comments

Description

When choosing Resize on a particular image in Assets, the progress queue in the left admin panel says "Failed" Screen Shot 2019-11-06 at 9 15 48 AM

  • Assets are in Amazon S3 buckets

  • Shouldn't the Resize still apply the quality? Or does this skip images that are not over the 1920x1920?

Steps to reproduce

  1. Choose image within Assets

  2. Choose Resize image under settings cog Screen Shot 2019-11-06 at 9 16 59 AM

  3. Click Resize Screen Shot 2019-11-06 at 9 17 11 AM

  4. /storage/logs/imageresizer.log reads: {"dateTime":"2019-11-06 08:13:26","taskId":"1F7v7","handle":"skipped-under-limits","filename":"Texture-Sexy-Hair-model-image.png","data":[]}

Additional info

  • Plugin version: 2.0.6
  • Craft version: 3.3.15
  • Using project.yaml with allowAdminChanges set to false on development/production servers
  • Attempting this Resize on both local, with allowAdminChanges set to true, and on development, fail.

kblizeck avatar Nov 06 '19 16:11 kblizeck

Sorry for the delay! Image Resizer will skip any images that are below the dimensional threshold. So, you won't be able to use this to modify just the quality. Probably best to use ImageOptimize for that sort of behaviour (it'll do a much better job anyway).

Can you confirm if the image you were trying to resize was below your threshold? That shouldn't throw an error though. There were no other items in the log around that time?

engram-design avatar Feb 04 '20 06:02 engram-design