Hi Anne,
I ran the template through http://gtmetrix.com/reports/www.prommart.com/8E4jxMhI to check speed and issues. Not the fastest template I've had, but working on it.
In order to get rid of the Specify Image Dimensions warning and score a green 100%, I had to include image width and height for all images in the drop-down menu as well as my slider and all footer images. Before I do the same for my sister's Picaflor sites I'd like to confirm I did it correctly. Here is one of her sites indicating to specify image dimensions; the second one down:
http://gtmetrix.com/reports/www.prom...l.com/E5KRKHdE
Here is part of what I did; I am hoping you can let me know if this is correct or wrong - including a width and height of the social images in the tpl_footer.php:
Code:
<div id="social-media">
<a href="<?php echo FACEBOOK; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.FACEBOOK_ICON ?>" alt="facebook link" class="smi facebook" width="32px" height="32px" /></a>
<a href="<?php echo TWITTER; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.TWITTER_ICON ?>" alt="twitter link" class="smi twitter" width="32px" height="32px" /></a>
<a href="<?php echo YOUTUBE; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.YOUTUBE_ICON ?>" alt="youtube link" class="smi youtube" width="32px" height="32px" /></a>
<a href="<?php echo PINTEREST; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.PINTEREST_ICON ?>" alt="pinterest link" class="smi pinterest" width="32px" height="32px" /></a>
<a href="<?php echo GOOGLE; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.GOOGLE_ICON ?>" alt="google link" class="smi google" width="32px" height="32px" /></a>
<a href="<?php echo BLOG; ?>" target="_blank"><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.BLOG_ICON ?>" alt="blog link" class="smi blog" width="32px" height="32px" /></a>
</div>
Thanks.
Steve
Bookmarks