-
hws991215
<– Please check.
<–Site shown in screenshot
I’ll give you the login information, so tell me what to do with a screenshot or video.
-
Can you tell me why? The size you want is way too big compared to the rendered size.
-
hws991215
<– Please check
-
hws991215
<– Please check.
-
Alvind
Hi there,
Instead of forcing the size, you can upload the image with its exact dimensions. The image is used in the GP Dynamic Image block, so it will display the original dimensions of the image.
-
hws991215
Can’t I force it?
-
Hi there,
yes you can force ALL the images to have the same aspect ratio.
For example this CSS will do that:body:not(.single) .dynamic-content-template img { aspect-ratio: 1.9 / 1; object-fit: cover; }
But there are issues:
i) the browser may not choose the best sized image which will effect performance
ii) your first image will be badly cropped.The simplest and best solution is for you to crop the image to the correct size before uploading.
-
hws991215
Thank you so much. It’s resolved.
-
You’re welcome
- You must be logged in to reply to this topic.