Want to work your way up in SERPs? Get and share ideas on link building, on/off page optimizing, social SEO and more.

Specify Width and Height of Images : Error In Affilotools

karenka250
Posts: 7
Joined: 14 Nov 14
Trust:

Specify Width and Height of Images : Error In Affilotools

Hello,
Affilotool shows me some problem and I need a help to fix it.


How to solve this issue
--------------------------
Specify the width and height of images and other slower-to-load visual elements when building your site or adding content to your pages.

I appreciate your help.
Thank you guys,
Regards
  • 0
Site Admin
maryt
Posts: 3225
Joined: 16 Apr 12
Trust:
karenka250 wrote:Hello,
Affilotool shows me some problem and I need a help to fix it.


How to solve this issue
--------------------------
Specify the width and height of images and other slower-to-load visual elements when building your site or adding content to your pages.

I appreciate your help.
Thank you guys,
Regards


Regarding the missing height and width for images, you only need to be concerned about images that are within your posts or pages. Check if there is an image embedded in each of the posts/page mentioned for this error and see if these images have no defined width or height.

To fix this, you will need to edit the post or page and switch to "TEXT" mode. While in text mode, look for the img code and see if the corresponding image designated by the src= has a defined height= or width=.

You can easily insert the height and width by including this code

Example:

height="250" width="620"


The resulting code will be like this:

img src="/wp-content/uploads/20xx/xx/image-filename-here.png" height="250" width="620"

Make sure that the above codes are enclosed with less than ( < ) and greater than ( > ) signs.

For more information, please see this tutorial here.
  • 0
Not sure which Affilorama tool you need? Take the quiz! https://www.affilorama.com/redirect/quiz

Web: https://www.affilorama.com
Twitter: https://twitter.com/affilorama
Facebook: https://www.facebook.com/affilorama

***
"Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment." ~Sidhhartha Guatama
 
karenka250
Posts: 7
Joined: 14 Nov 14
Trust:
Dear Mary,
Thank you very much for your answer. Appreciate your time.
It's a very good answer.
Please can you help me a little bit more.
1. When I write the post, I don't want the people see all the post, but tag "more" doesn't work. What code help me put this "Continue read…"

2. Which way can I organize all banners on the right widget in a beautiful look. I'm using wordpress.

Thank you for your time.
Best regards
  • 0
cecille.l
Posts: 6369
Joined: 25 Feb 11
Trust:
1. When I write the post, I don't want the people see all the post, but tag "more" doesn't work. What code help me put this "Continue read…

If you're using Affilotheme, the "excerpt" code will not work. This is because your post is automatically cut off if it becomes too long to be viewed by the user in one page.

Are you referring to the homepage/front page of your site? If so, you can go to Settings > Reading > Front Page Displays, then select Latest Posts from the drop-down menu.

You can indicate the number of posts including the Read more text that you want to appear on the excerpts.

2. Which way can I organize all banners on the right widget in a beautiful look. I'm using wordpress.

You can go to Appearance > Widgets and drag/drop widgets to re-arrange them to your preferences.

Hope that helps. Have a good day!
  • 0
Cecille

Building affiliate marketing websites is a breeze: https://www.affilorama.com/affilojetpack
Like us on Facebook: https://www.facebook.com/affilorama
 
g.clement
Posts: 13
Joined: 25 May 15
Trust:
Hello

I'm also having issues with width & height of image inserted into my home page. I read this forum thread and had a look at my text view. My height and width seem to be solidly set at 512 (not by me) but my affiliotools website health check still believes there is an issue in this area. Is there an error missing in the code below ?

<a href="http://www.ownyourdestinynow.com/wp-content/uploads/funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512.jpg"><img class="alignnone wp-image-59" src="http://www.ownyourdestinynow.com/wp-content/uploads/funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512.jpg" alt="funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512" width="512" height="512" /></a>
  • 0
Site Admin
maryt
Posts: 3225
Joined: 16 Apr 12
Trust:
g.clement wrote:Hello

I'm also having issues with width & height of image inserted into my home page. I read this forum thread and had a look at my text view. My height and width seem to be solidly set at 512 (not by me) but my affiliotools website health check still believes there is an issue in this area. Is there an error missing in the code below ?

<a href="http://www.ownyourdestinynow.com/wp-content/uploads/funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512.jpg"><img class="alignnone wp-image-59" src="http://www.ownyourdestinynow.com/wp-content/uploads/funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512.jpg" alt="funny_money_magnet_cartoon_invitation-rb551927df6b04482a8d0bfbff3284e88_zk9lx_512" width="512" height="512" /></a>


Hi,

There's no problem with the code you posted. AffiloTools is referring to the other image found within your homepage which is http://www.ownyourdestinynow.com/wp-con ... n_3D_S.png

You can just ignore the error since you have already fixed the height and width of the image within the post. Please take note that you only need to be concerned about images that are within your posts or pages.

For other images such as this- http://www.ownyourdestinynow.com/wp-con ... n_3D_S.png, this image cannot be fixed since it is part of the form. Please just press "ignore" in AffiloTools to remove that warning.

I hope that helps!
  • 0
Not sure which Affilorama tool you need? Take the quiz! https://www.affilorama.com/redirect/quiz

Web: https://www.affilorama.com
Twitter: https://twitter.com/affilorama
Facebook: https://www.facebook.com/affilorama

***
"Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment." ~Sidhhartha Guatama
 

This topic was started on Feb 01, 2015 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.

cron