Developer forum

Forum » Rapido » Overlay background images not displaying correctly

Overlay background images not displaying correctly

Mafalda Correa
Mafalda Correa
Reply

Hi,

I'm trying to create an overlay with a background image, but it seems like the image is being zoomed in a lot.

I made a video to show the issue:

https://www.screencast.com/t/j7MDV9ds

It seems like the issue is that the GetImage is trying to make a 1000x1000px image, even though my overlay isn't a square.

Regards


Replies

 
Karsten Thuen Dynamicweb Employee
Karsten Thuen
Reply

Hi Mafalda

Thank you for the video. That helps a lot understanding the situation. I can see that you are using the "full height" setting for the modal. This means that we do not know the exact height needed for the image, and this is the reason we crop a much higher image for the background. 

What you can do, is choose one of the height settings, other than full, and see if it fits better. Remember that the other sizes also crops in a way that secures that there is enouh image available, even wehen resizing the screen.

 

Best regards
Karsten Thuen

 
Mafalda Correa
Mafalda Correa
Reply

Hi Karsten, 

I should have probably showed that too. But nothing changes, no matter what configurations I pick, it's always getting a 1000px1000px image.

See the video below:

https://www.screencast.com/t/meJHwElVryl4

 

You must be logged in to post in the forum