Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 11d 08h 47m 29s
Claim 50% off
Staff replied SP Page Builder

Display appropriate images for each device.

Asked by Fernando Bautista 1 year ago Last activity 1 year ago

Best regards, and I hope you are well.

I would like to know how I can display images for desktop and mobile devices in the same SPPB module without having to create a module and images for each device based on its height and width.

In my case, I have a news website (https://portalnews.co), and as you can see, I have images of both height and width, and it's quite tedious, for example, to create a module just to display the image on a PC, so that when viewed on mobile devices, it appears smaller, or vice versa, to create a module for mobile devices, so that the image displays poorly on a PC.

I appreciate your kind collaboration on this matter.

2 replies

Atick Eashrak Shuvo Staff

Best regards, and thank you for your message.

Apologies for the inconvenience caused. Unfortunately, SP Page Builder does not currently support displaying different images for desktop and mobile views within the same module. While you can adjust the width and height of the image responsively for different screen sizes, it is not possible to load separate images based on the device type.

Thank you for your understanding.

Kind regards

Fernando Bautista Asked this

Hi Atick, and thanks for the information.

Specifically, how should I apply the solution you propose? Could this be a solution for my case, or do I necessarily need to create a module for each image type based on the device?

I appreciate your specific guidance. Thank you.

Atick Eashrak Shuvo Staff

If you need to display different images for different devices (e.g., desktop vs. mobile), the recommended approach is to use separate Image addons for each version. You can then control their visibility using the Responsive settings in SP Page Builder — simply choose which device(s) each addon should be shown or hidden on.

Log in to reply.