Specify Image Dimensions Error In GTmetrix
Are you checked your site in GTMetrix and getting Specify Image Dimensions error ever? Facebook Like box plugin also makes specify image dimensions error. This scan is important because it calculate your website coding structure. Gtmetrix results are playing major role in website speed loading and optimization. Google Speed test is popular website loading speed test tool you can test website analysis in Google Free Speed Test. Gtmetrix is excellent website testing tool specially for website loading issues. Gtmetrix Speed test is number 1 speed testing tool recognized by lot of webmasters. In WordPress website optimization you can see some continues error if you use Facebook like box plugin. On the time of scanning in gtmetrix may be you can get Facebook like box script error similar like fbcdn-profile-a.akamaihd.net etc. See my below screenshot for the errors. By default you can get 8 thumbnail images for your facebook like profiles photos. This default Facebook Likebox plugin code placed in your WordPress site with out specify image dimensions. That’s why you receive errors like below.
How to Remove fbcdn-profile-a.akamaihd.net Error Problem in GTMetrix Scan Results?
Specify image dimensions is biggest problem to fix up in Gtmetrix. Fbcdn profile a akamaihd net is not an virus or any other malware code. This is an image link from Facebook CDN (Facebook content Delivery Network). These codes are directly from Facebook cdn. So you cant control external codes for your Gtmetrix WordPress optimization. With inside your website code you can easily update or modify for fixing this issue. But here is the issue in Facebook like box image problem. You need to specify image dimensions for fbcdn type images. I searched Google to find out any solution for Facebook likebox optimization. Lot of how to guides found, but there is nothing to guide you particularly for fbcdn-profile-a.akamaihd.net specify image dimensions. Finally I fixed this Facebook optimization by one trick. This trick may be help you on your WordPress website optimization and speed up your WordPress site.
Add Facebook Likebox with Specify Image Dimensions For Gtmetrix Website Speed Optimization
May our users think Image dimensions means this article relative about free digital photos or photo print sizes. Its all about Facebook Lightbox Image dimensions. You can fix this error by simple tweak in your default Facebook likebox code what you received in Facebook Developers page. You can follow these steps to optimize any WordPress site.Just copy and paste below code for your existing Facebook likebox plugin code. My optimized widget code can remove your GTMetrix errors for your Facebook likebox. Also it will helps you to get good positive results in WordPress website optimization. You can chage your Facebook like box background color from this code. Just copy and past in your sidebar widget or any other places you preferred in your website. Below code helps you also to change Facebook like box background color. In this code I added Facebook like box faces image dimensions in the CSS by set height and width. This tweak helps you to hide your GTMetrix Specify image dimensions error issue. Download the Code Here
Simply download the above code and update it in your wordpress website widgets sidebar or any other place. Dont forget to update your Facebook fanpage addressOk, Now you fixed specify image dimensions error for Facebook Like box. Just check now your GTmetrix score by entering your url on new browser window. Surely you got some good improvements in your Gtmetrix scan page speed percentage. Here below I given Techhowdy.com’s GTmetrix page speed score after update.
You know the default Facebook Like box background color is #F4F4F4. But you can change any other color you preferred. Just update the Line 03 and 24. Also you can change height and width by changing lines 4,5, 7 and 8. For GTMetrix error issue I added two size parameters data-show-faces-width=”50″ data-show-faces-height=”50″ in show faces class. Don’t change this. This one is default value.