Best Practice to Load different sized images for different screen sizes - Ionic 2

I would like to know which is the best way to load images of different sizes on different sized devices.

e.g. Size1.png on IPhone 5s, size2.png on IPhone6, size3.png on IPad etc.

similarly for android.

From my web development experience, I would use media query to achieve it.

What would be the best way to do so with Ionic.

Thanks !

2 Likes

Did you ever get this answered? I have the same question.

I use CSS media query, but also you can use the ngIf component, and having multiple img validations.

How can this done so? thankyou.