WebSite X5Help Center

 
Joe H.
Joe H.
User

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

Auteur : Joe H.
Visité 781, Followers 1, Partagé 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. 

Posté le
6 RéPONSES
Joe H.
Joe H.
User
Auteur

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

Lire plus
Posté le de 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.

Lire plus
Posté le de Aleksej H.
Joe H.
Joe H.
User
Auteur

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.

Lire plus
Posté le de Joe H.
Joe H.
Joe H.
User
Auteur

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

Lire plus
Posté le de Joe H.
Aleksej H.
Aleksej H.
Moderator

Good luck to you.

Lire plus
Posté le de Aleksej H.