-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use different images at different sizes #37
Comments
Hi, Yes, you're right, it was possible with this plugin. I will ask someone from our team to provide you with the instructions here in thread |
hello @anobjectn, you can read about it on next link https://github.com/justcoded/just-responsive-images/wiki/3.-Template-functions and i give to you example |
thanks @ksamojlenko Before you posted that helpful info I did implement an alternate solution that afforded me this flexibility but that uses fixed image sizes in wp - so every time an image is uploaded to media library these sizes are generated which is not ideal I plan to convert this back to RWD. I can post my alternate version in case someone can use it as its flexible and easier to understand than the RWD documentation (to me, sorry). Im using ACF Pro, and a bunch of images sizes including vertical (portrait) sizes like hero-m-v-lg and horizonal (landscape) images hero-m-v-lg , with seperate landscape sizes for larger "desktop" screens, for two types of areas: a header / hero area background and a couple of modals but I really wanted different images and different aspect ratios.
|
Sometimes instead of using a different size of the same image across different devices, I want to use a different image. I thought there was a capability for this using this plugin but I see nothing on it now.
Currently I have this requirement because I want to use landscape oriented images on larger screens, but a different image with portrait dimensions on smaller devices.
The text was updated successfully, but these errors were encountered: