Image src not rendering original size | Community
Skip to main content
October 10, 2022
Solved

Image src not rendering original size

  • October 10, 2022
  • 1 reply
  • 1028 views

Hi all,

 

I'm using the image core component without renditions default behaviour and I'm using a js lib. The think is that I'm using a data-src attr that uses the image.src property. But this image is rendered with a smaller size (1280x568px) than the original (4320x1920px). The path is: data-src="/content/project/es/index/_jcr_content/root/container/container/carouselhero/item_1649317947070/imageDesktop.coreimg.png/1665385796673/hero-01.png"

Do you know why this is happening? I need that the image has more resolution 😞

 

Thanks!

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

October 17, 2022

Exactly, It was the default resize width. It was configured in 1280px. I added a osgiConfig in my project  applying to my image component resourceType with defaultresizewidth to 1920px.

 

Thank you very much!