-
Notifications
You must be signed in to change notification settings - Fork 638
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
[4.x] Upgrade from 4.2.7 to 4.3.0 destroys images #12210
Comments
Can confirm. After disabling the "ImageOptimize" plugin, images are working as they should. |
Can confirm as well. I've reported the issue @khalwat nystudio107/craft-imageoptimize#360 |
Outstanding, thanks for such a quick response! |
@brandonkelly Not sure this is just a plugin issue - I use a custom twig function to render our imagery, and updating to 4.3 just broke asset indexes on a staging site. I had to define the webroot alias in general.php and then add the full path in .env in order to get it to index correctly again. It still broke all my asset relations in entries (thankfully not that many) and left a full /srv path in the assets folder: |
@mightyfineyall Not really sure what to make of that, but probably unrelated to this issue? Can you please post a new issue with as much detail as you can think of:
|
Craft 4.3.1 has been released with the fix for ImageOptimize. |
What happened?
[4.x]: I've just updated my site from Craft 4.2.7 to 4.3.0 and it seems that there is something very toxic in the update somewhere. After the upgrade I was seeing that several images were no longer being rendered.I then re-indexed my image assets, and afterwards no images at all were being rendered on the site.I think this would have already been reported from the field if this were a native image/transform problem, so without any investigation at all I am going to assume the problem is because I use ImageOptimize.There appears to be a little fight going on between ImageOptimimize and Craft 4.3.0
Description
Steps to reproduce
Expected behavior
The site behaves normally, with whatever new functionality comes with the update
Actual behavior
Images no longer render on the site.
Craft CMS version
4.2.7 (Pro)
PHP version
8.1.11
Operating system and version
Linux 5.10.0-18-amd64
Database type and version
MySQL 5.7.39
Image driver and version
Imagick 3.6.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: