You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, nice script but I don't understand how to work the retina feature.
I upload an image 870x706
I call your function in this way $img_lg = nova_resize_thumbnail($img_id, array( 'width' => '435', 'height' => '353', ), true );
The output is this and the retina value is empty Array ( [url] => https://growme.it/fing/wp-content/uploads/2024/01/[email protected] [width] => 435 [height] => 353 [retina] => )
Any tips?
The text was updated successfully, but these errors were encountered:
@Bluxart - That is correct. When you set retina to true it returns the retina URL. So if you are showing an image for example that has both retina and non retina you would call the function twice:
Hi, nice script but I don't understand how to work the retina feature.
I upload an image 870x706
I call your function in this way
$img_lg = nova_resize_thumbnail($img_id, array( 'width' => '435', 'height' => '353', ), true );
The output is this and the retina value is empty
Array ( [url] => https://growme.it/fing/wp-content/uploads/2024/01/[email protected] [width] => 435 [height] => 353 [retina] => )
Any tips?
The text was updated successfully, but these errors were encountered: