I'm inserting images using this shortcode:
[types field='studio-images' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='1200' height='800' resize='proportional'][/types]
Is it possible to get it to upscale images as well? You can see an example of the issue i'm trying to solve here: hidden link
Images on that are inserted using the above shortcode.
Hello,
What is the "upscale image"?
Are you going to display those images as 1200 * 800?
If it is, you can add a CSS class to the image shortcode, for example: add CSS class name "my-image"
[types field='studio-images' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='1200' height='800' resize='proportional' class="my-image"][/types]
Then use CSS codes to customize the CSS class "my-image", like this:
img.my-image{
width: 1200px;
height: 800px;
}
More help:
https://toolset.com/documentation/customizing-sites-using-php/functions/#image
click link "Usage examples", there is an example codes:
[types field="my-image" alt="blue bird" title="Acme logo" class="my-class1 myclass2" style="border:1px solid black;padding:20px" size="thumbnail"]