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

dragonfly convert (filter) fails after dragonfly upgrade #238

Open
psal0 opened this issue Jul 18, 2024 · 1 comment
Open

dragonfly convert (filter) fails after dragonfly upgrade #238

psal0 opened this issue Jul 18, 2024 · 1 comment
Labels

Comments

@psal0
Copy link

psal0 commented Jul 18, 2024

I have a site where I am this in one of my templates:

<img src="{{ company.image.url | resize: '600x500', filters: ' -gravity center -extent 800x -bordercolor white -border 30' }}" alt="{{ company.name }}" data-no-retina="">

I have been using that template since many years with older versions of locomotivecms successfully.

Now, after the update to the latest version, the template shows broken images, although the image url rendered in the template looks correct.
The same site synced and run locally shows an error:

DRAGONFLY: caught error - The convert processor is deprecated for better security - use Dragonfly::ImageMagick::Commands.convert(content, args, opts) instead.
DRAGONFLY: GET /steam/dynamic/W1siZmYiLCIvVXNlcnMvc2Fsb21vbi9NaW5kc2NhcGVWZW50dXJlc0Nsb3VkL1dlYkRldmVsb3BtZW50L2xvY29tb3RpdmVjbXNfc2l0ZXMvazRzb2NhbC9wdWJsaWMvc2FtcGxlcy9fcHJvZHVjdGlvbi9jb250ZW50X2VudHJpZXMvbG9nby1yaXNpbmctd2luZXMtY29sbGVjdGl2ZS1zdGFja2VkLnBuZyJdLFsicCIsInRodW1iIiwiNjAweDUwMCJdLFsicCIsImNvbnZlcnQiLCIgLWdyYXZpdHkgY2VudGVyIC1leHRlbnQgODAweCAtYm9yZGVyY29sb3Igd2hpdGUgLWJvcmRlciAzMCJdXQ/2ad7ca522bdcad6f/logo-rising-wines-collective-stacked.png 500
@psal0
Copy link
Author

psal0 commented Jul 18, 2024

Its dragonfly version 1.4.0: https://github.com/markevans/dragonfly/blob/master/History.md

@did did added the bug label Aug 30, 2024
did added a commit that referenced this issue Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants