Backgrouns image sizes

J_jvs
Participant V

Hi Team,
how or Where can i get information about how to work with background images?

thks

0 4 115
4 REPLIES 4

Ratatosk
Participant V

Hi, this is a difficult topic. The raster image stretching as of now is very poor and impossible to control, and the only solution Iโ€™ve found is to use svgโ€™s converted to base64 encoding to get reliable and professional looking results on devices with varying screen sizes.

This is something that has to be played around with to work well. There are multiple posts about it on this forum.

Hope it helps.

thks for your help!

Hereโ€™s a converter: SVG to Base64 | Image | Base64 Encode | Base64 Converter | Base64

Here is the prefix you have to put before the base64 code:

data:image/svg+xml;base64,

This trick saves the whole โ€œimageโ€ in the โ€œfilenameโ€, so there is then no need to host it externally.

You still need to iterate until you find the dimensionality of the svg that works for you.

Top Labels in this Space