WebSite X5Help Center

 
Joe H.
Joe H.
User

Adding dimensions of .jpgs so they are visible in code  en

Author: Joe H.
Visited 774, Followers 1, Shared 0  

I am hoping to be able to include with my .jpg's/all photos with dimensions (height and width) visible in code.   Google has criticized me about this so I need this to be viewed by Google.  How can I do this?

Also when doing a page audit, I keep getting message that I need to serve an image with better resolution, image will show you the message.  What is this mean?  I've made numerous changes and am unable to correct this.   Help or explanation in correcting this if it can be done. 

Posted on the
6 ANSWERS
Joe H.
Joe H.
User
Author

Forgot to add image related to the second part of the dicussion

Read more
Posted on the from Joe H.
Aleksej H.
Aleksej H.
Moderator

Hello. 

"I am hoping to be able to include with my .jpg's/all photos with dimensions (height and width) visible in code." - You can try adding height and width to some images here.If this does not help, then you can try to insert images using the HTML code.But this is very inconvenient.

"Also when doing a page audit, I keep getting message that I need to serve an image with better resolution, image will show you the message. What is this mean?" - You need to add images to the program with exactly the same size with which they will be displayed on the site page.Now you have a picture with a size of 600 * 774, but it is displayed with a size of 300 * 387. First, reduce the picture to a size of 300 * 387, and then add it to the program.

Read more
Posted on the from Aleksej H.
Joe H.
Joe H.
User
Author

You can do that with pictures in text objects, but cannot do that with pictures in image galleries.   So then if you use that in for the user experience (per Google) in text object, then you loose the lazy loading capabilities (defer imaging) in image galleries and you get dinged for that.

If I'm wrong please show me how to defer loading (L.I.) and have that good user experience that Google wants, ... please.

Read more
Posted on the from Joe H.
Joe H.
Joe H.
User
Author

I kind of figured that might be the case.  My service provider has iis system.  I'll check into it more. Thank you.

Read more
Posted on the from Joe H.
Aleksej H.
Aleksej H.
Moderator

Good luck to you.

Read more
Posted on the from Aleksej H.