a-ok Posted December 18, 2018 Share Posted December 18, 2018 I ran into an issue on my server with the PHP GD library and all my thumbnails on image fields are now transparent (see attached). Is there a way to regenerate these thumbnails without re-uploading all the images again? Link to comment Share on other sites More sharing options...
horst Posted December 18, 2018 Share Posted December 18, 2018 What exactly is / was the issue? Are the thumbs variation files missing or residing corrupted in the filesystem? Link to comment Share on other sites More sharing options...
a-ok Posted December 18, 2018 Author Share Posted December 18, 2018 6 hours ago, horst said: What exactly is / was the issue? Are the thumbs variation files missing or residing corrupted in the filesystem? They exist physically but are corrupt. Link to comment Share on other sites More sharing options...
horst Posted December 19, 2018 Share Posted December 19, 2018 Hmmm, there is a new action for PageListerPro (https://processwire.com/blog/posts/processwire-3.0.121-core-updates-and-more/). 2 Link to comment Share on other sites More sharing options...
Robin S Posted December 19, 2018 Share Posted December 19, 2018 On 12/18/2018 at 9:56 PM, a-ok said: all my thumbnails on image fields are now transparent If all your variations (thumbnails and other variations) are corrupt you can delete them with the Pageimage Remove Variations module. The variations will be recreated next time they are requested. 2 Link to comment Share on other sites More sharing options...
a-ok Posted December 20, 2018 Author Share Posted December 20, 2018 12 hours ago, Robin S said: If all your variations (thumbnails and other variations) are corrupt you can delete them with the Pageimage Remove Variations module. The variations will be recreated next time they are requested. Yes this fixed things. Thanks for the heads up. I guess it's no drama if it removes variations of ones that weren't corrupt, right? Link to comment Share on other sites More sharing options...
Robin S Posted December 20, 2018 Share Posted December 20, 2018 2 minutes ago, a-ok said: I guess it's no drama if it removes variations of ones that weren't corrupt, right? If you have inserted any variations into CKEditor fields it would pay to check those because they won't be automatically recreated when the page is loaded. You'd need to call the image sizer again with needed dimensions, either using the CKEditor image modal or via the API. Link to comment Share on other sites More sharing options...
a-ok Posted December 20, 2018 Author Share Posted December 20, 2018 33 minutes ago, Robin S said: If you have inserted any variations into CKEditor fields it would pay to check those because they won't be automatically recreated when the page is loaded. You'd need to call the image sizer again with needed dimensions, either using the CKEditor image modal or via the API. That's fine I don't allow for image insertions on text fields. Thanks again everyone for helping me resolve this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now