Forum

Thread tagged as: Question

Understanding when images are resized

I have a template that generates multiple sizes for each image to be used in other templates across the site. I now need sizes that weren't created when uploaded through the original template. What are my options for creating these new image sizes for assets that already exist? If images are only resized when uploaded, but are then selected in a new template that calls for different sizes, what happens?

Running latest v2.8.13

Shane Lenzen

Shane Lenzen 18 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

They get resized when added to content, not necessarily just when uploaded. If you save an item content and it demands a size that isn't available for a referenced asset, that size is then generated.

Oh awesome. So just adding new sizes to the original template and re-saving would generate the new sizes? I thought the docs said otherwise.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that would work.