Adjust image size on mobile vs laptop

0
Are we able to adjust the image size (for instance, when viewing a product's image) so that it will appear differently, on mobile vs on laptop?   I am currently using a Responsive Web App, not intending to create a Phone App profile.
asked
2 answers
0

Hi Phoebe Tan,
If you are not intending to create a mobile-specific page you can. You can use a media query and write your CSS accordingly.  
or I would also suggest you can create mobile-specific page and make use of the DeviceType token ( inbuilt in mendix ) and navigate accordingly. 

For example :

@media (min-width:500px){/*Class name*/{/*properties*/}} @media (max-width:499px){/*Class name*/{/*properties*/}}

answered
0

Hello Phoebe,

The ’image’ widget can be used since it is responsive if you would like to view it on different devices.

https://docs.mendix.com/appstore/widgets/image/

Kind regards,

Yusuf KAZAN

answered