Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Hello support, We are trying to set a default picture height and width to the following. Please see the enclosed picture. Google dislikes pictures being loaded without this information, we are trying to up our mobile score on Google's PageSpeed Insight and are trying to reduce our Cumulative Layout Shift (CLS). We have already improved our desktop score from 68 to 95. I'm not sure where in Ablecommerce I need to go to do this. I'm pretty sure it's a view somewhere, but I'm just not sure. Many thanks, -Ray ImageBox.jpg (384kb) downloaded 12 time(s).Edited by user Friday, December 3, 2021 10:38:38 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi Ray, Please find the following line of code in the file \Website\Views\Shared\_ProductItemDisplay.cshtml Quote:@if (ShowImage) { <img src="@Url.Content(imageUrl)" class="img-responsive product-img-center" alt="@imageAltText" /> }
|
|
|
|
Rank: Member
Groups: Registered, HelpDesk Joined: 9/29/2021(UTC) Posts: 17
|
WHere are you finding the pagespeed tools?
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
I'm not sure about the scope of your question, but I'm referring here to the Google insight tools available at https://pagespeed.web.devI hope this helps, -Ray
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close