maxf5 Posted August 24, 2017 Share Posted August 24, 2017 Hey PW fanatics, i have various images which are getting cropped with the $image->size(); function in the template. Some gradients are looking crappy, so that i want all images on the website to get re-sized again. Is there a simple way to do this? Link to comment Share on other sites More sharing options...
kongondo Posted August 24, 2017 Share Posted August 24, 2017 You'd have to delete the variations. http://cheatsheet.processwire.com/files/image-methods/image-removevariations/ https://processwire.com/api/ref/pageimage/get-variations/ https://processwire.com/api/ref/pageimage/remove-variations/ @horst will probably give you more advice.... 3 Link to comment Share on other sites More sharing options...
adrian Posted August 24, 2017 Share Posted August 24, 2017 Speaking of horst: https://modules.processwire.com/modules/pageimage-remove-variations/ 2 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