You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Can I set different image dimensions for different screen sizes?
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi Ryan,
I know that it is possible to make an image responsive using css (or a framework like Bootstrap) so it's size will be 100% of the element containing the image. What I am asking here is different: I would like to set a fixed image size for different screen sizes.
Of course this is possible using media queries in my css, but I would like to offer this option to non-tech authors so they can edit images individually. Why not include this option in the JCE image manager? At present we can set one pair of height x width dimensions; maybe this could be extended with more of these pairs and assign each pair to a particular screen width range?
Kind regards, Frits
I know that it is possible to make an image responsive using css (or a framework like Bootstrap) so it's size will be 100% of the element containing the image. What I am asking here is different: I would like to set a fixed image size for different screen sizes.
Of course this is possible using media queries in my css, but I would like to offer this option to non-tech authors so they can edit images individually. Why not include this option in the JCE image manager? At present we can set one pair of height x width dimensions; maybe this could be extended with more of these pairs and assign each pair to a particular screen width range?
Kind regards, Frits
This is planned for the Image Manager Extended in a future update of JCE 2.6 Pro, using the <picture> element - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
Just because you're not paranoid doesn't mean everybody isn't out to get you.
This is planned for the Image Manager Extended in a future update of JCE 2.6 Pro, using the <picture> element - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!