-
Swiper has a couple of way of displaying the image - as an IMG which means it scales up and down and always fits the area in which is resides and BACKGROUND which means the image is used as a background under the text and gets clipped to suit that. The IMG has the disadvantage that the text can often be bigger than the image as you scale down. The BACKGROUND disadvantage is that you might not always see all the image. So, making the right choice to start with is key.
Next, generally don't put textual content in images - it doesn't scale well and if you can either end up with unreadable text or clipped text.
Next, think about who your audience is - if they are likely to be using 5k monitors then you will have to make the images superwide to accommodate them and this will mean larger downloads - so it's always a trade-off.
Sometime there's just no getting around the fact that you will need to use custom CSS to make tweaks to how the swiper is presented in different viewports. Or, alternately you could use a different swiper for mobile vs desktop by using the responsive support classes (e.g. "visible-phone" and "hidden-phone").
For images used only on a monitor you don't need to go higher than 72ppi and you should use an image optimisation tool (either online or photoshop) too compress your images into the smallest file size. Use jpg for images - use png for graphics.
I hope those tips help you.
Regards, Mark.
-
The following users have thanked you: Stian Skaget
- Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.