[SOLVED] Astroid Background Image

  • Rasmo
  • Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1

Astroid Background Image was created by Rasmo

Posted 1 week 2 hours ago #36043
This message contains secure information
by Rasmo
The topic has been locked.

Replied by WM-Loose on topic Astroid Background Image

Posted 6 days 22 hours ago #36044
A background image in a section always has a fixed size. If you want to adapt different image sizes to different display sizes, this is only possible if you create a separate section for each screen size and then assign this section to the respective screen size. The images must then be adjusted accordingly in width and height. Therefore, use a suitable image for each display size (width x height). However, the section must also be hidden for the other screen sizes.

 
JP-Admin
Joomla-Member in forum.joomla.de/
The topic has been locked.
  • Rasmo
  • Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1

Replied by Rasmo on topic Astroid Background Image

Posted 6 days 21 hours ago #36045
Thanks. I've already tried that. I've set different image sizes. But with a 600-pixel image, for example, only the center part is displayed. The image is greatly enlarged, but not scaled to the screen width.
What can I do?
by Rasmo
The topic has been locked.

Replied by WM-Loose on topic Astroid Background Image

Posted 6 days 21 hours ago #36046
You can convert the ratio here, it might help.
www.digitalrebellion.com/webapps/aspectcalc

You need to crop the images in proportion to the display size.
JP-Admin
Joomla-Member in forum.joomla.de/
Last Edit:6 days 21 hours ago by WM-Loose
Last edit: 6 days 21 hours ago by WM-Loose.
The topic has been locked.
  • Rasmo
  • Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1

Replied by Rasmo on topic Astroid Background Image

Posted 6 days 20 hours ago #36047
>You need to crop the images in proportion to the display size.

Thanks.

I've tested different sizes. I've also tried maintaining the same proportions.
Ultimately, however, you don't know what the mobile device's proportions are. There are several options for this.
Ultimately, the image isn't scaled. It stays the same size, and only a section is displayed.
by Rasmo
The topic has been locked.

Replied by WM-Loose on topic Astroid Background Image

Posted 6 days 19 hours ago #36048
This is precisely why background images are rarely used on smaller displays. Images containing centered elements are difficult to position. Such background images should generally be avoided on smaller displays, such as mobile devices.

BTW: A background image on Apple devices (iPhone and iPad) is not centered at all and is due to the wrc html standard which Apple does not follow.
JP-Admin
Joomla-Member in forum.joomla.de/
Last Edit:6 days 19 hours ago by WM-Loose
Last edit: 6 days 19 hours ago by WM-Loose.
The topic has been locked.

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License