valan Posted February 15, 2014 Share Posted February 15, 2014 Or it returns existing image, if image with such dimensions already exists (e.g. has been created formerly)? Or in other words - do I need to cycle through $image->getVariations() in order to minimize load onto the server? Or there is another/PW-way to get specific image variation, without image generation if it already exists? Thanks in advance for tip! Link to comment Share on other sites More sharing options...
adrian Posted February 15, 2014 Share Posted February 15, 2014 PW caches any image sizes you create with $image->size(), $image->width() or $image->height(). They are all stored in your assets folder and called directly if they already exist. 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