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 is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115337 Intro image size corrupts module

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by sittbrunnen on Monday, 27 November 2023 11:45 GMT

sittbrunnen
When entering an Intro image, the editor now adds a # (#joomlaImage://local-images/stories/hr/IMG_2145_copy.jpg?width=1240&height=699) with the width and height of the intro image.
This corrupts the view in a Newsflash module, because it will not show the picture proportional. Se https://sittbrunnen.se, down at the right.
I do not know if this is an issue of JCE, Joomla or somebody else.
But I can see older articles, without this width and height, is still working fine in the newsflash module.
Regards
Niklas

Attachments

Ryan
Your template stylesheet, or some other stylesheet loaded on the site includes this css:

.j40 figure img {
  max-width: 100%;
}
but in order to display images responsively, this needs to be:

.j40 figure img {
  max-width: 100%;
  height: auto;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

sittbrunnen
Thanks, I just added it in custom.css 😛

Niklas