nghi Posted April 2, 2014 Posted April 2, 2014 Not sure how to do this but I change the quality option for the size function but it doesn't seem to process it again when the page is load $image->size(500,0,array('quality'=>100))->url $image->size(500,0,array('quality'=>50))->url Also how would I regenerate all images on a site? I'm thinking about just using winhttrack to crawl through it unless there is some PW way to do it?
horst Posted April 2, 2014 Posted April 2, 2014 Hi nghi, $image->removeVariations(); If you want to do that for a whole site you do it best way with a bootstrapped script and foreach page with image(s) fields. There are a lot of examples here in the forums. If you cannot find one or have a question please come back here and ask. PS: you cannot create two files with the same width/height. If you want to compare quality, just use size(500,0) and size(501,0). 2
Soma Posted April 2, 2014 Posted April 2, 2014 It may a good one to add a naming convention for quality 500x0-70? The quality setting is relatively new. 1
horst Posted April 2, 2014 Posted April 2, 2014 It may a good one to add a naming convention for quality 500x0-70? The quality setting is relatively new. Naming convention: +1! Quality == new setting ? It was there since my very first day here. So, please call me youngster. Naming convention needs to respect cropped versions too => look here 2
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