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

  1. mike_hermary
  2. JCE Editor
  3. Tuesday, 28 July 2020
Hello,

I have two questions regarding the Joomla content editor image tab and the file browser.

First: Is there any way to add multiple image sizes using the srcset functionality in the file manager? This functionality works on the Image Manager Extended responsive tab, but not on the file manager as far as I know.

Second: Is there a way to get the image's width and height attributes from the file browser and display them in the HTML for intro and full text images?

Cheers,
Accepted Answer Pending Moderation
I have two questions regarding the Joomla content editor image tab and the file browser.

First: Is there any way to add multiple image sizes using the srcset functionality in the file manager? This functionality works on the Image Manager Extended responsive tab, but not on the file manager as far as I know.


The Images & Links tab is part of the Joomla Article Manager, and those image fields are extended slightly to provide access to the JCE File Browser to select images. Setting the srcset attribute for responsive images requires extra input, to specify the width descriptor or device pixel ratio, which is not available in the JCE File Browser, and cannot be added as additional options in the media field itself.

Second: Is there a way to get the image's width and height attributes from the file browser and display them in the HTML for intro and full text images?


Please note that the rendering othe Intro Image and Full Image fields is not done by JCE but by the Joomla Article Manager via the Joomla Media Field. This field does not accept additional attributes for the image tag, so the width, height and srcset attributes could not be set, even if the data was supplied.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 1
Accepted Answer Pending Moderation
Hello Ryan,

Thanks for the explanations.

Can you say if Joomla 4 will be providing this functionality in it's media manager or provide your File Manager the ability to handle this?

Cheers,
  1. more than a month ago
  2. JCE Editor
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!