buhoplace Posted April 15, 2015 Share Posted April 15, 2015 (edited) hi. im trying get the images sizes ( height and width ) for put in : <img itemprop="image" src="{$img_prod_dir}{$lang_iso}-default-large_default.jpg" id="bigpic" alt="" title="{$product->name|escape:'html':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}"/> but i dont wont the largesize of the current product, i want the size that i made in preference/images, like the image how can i get this like width="{$largeSize.width}" but in ---> width="{$home_default || large_default..etc .width}" (i need this because in gtmetrix i see that i need Specify image dimensions because my page is so slow http://gtmetrix.com/reports/buhoplace.com/7KAqFsHb) Thanks Edited April 15, 2015 by buhoplace (see edit history) Link to comment Share on other sites More sharing options...
cockpitinferno Posted August 6, 2015 Share Posted August 6, 2015 dis you find a way to do that i need it to butr for small default 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