Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kblizeck opened this issue Nov 6, 2019 · 1 comment
Open

Comments

@kblizeck
Copy link

kblizeck commented Nov 6, 2019

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.
@engram-design
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants