Problems with images and IE

Problems with images and IE was created by Timfreak

Posted 6 years 3 months ago #46560
Hi!

We encountered that the image plugin for the page builder causes problems in Internet Explorer.
It adds width 100% and height auto as html attribute, which is not valid html5 and causes problems in Internet Explorer. Internet Explorer calculates the height of the surrounding divs according to the original image size. So if you upload an image of 5000px height, the surrounding box is 5000px high though the image itself is scaled to the width of the column block.

Could you please have a look at this?

Another great option would be automatical resizing (maybe to 1200px width as a "secure" method) to avoid laaaarge images and a renaming option if the filename already exists...

This message contains confidential information


Anyway, thanks for the PageBuilder :)
Tim

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Problems with images and IE

Posted 6 years 3 months ago #46565
Hi
in the image element options, you can set the width and height fields. It will be used for the attributes instead of the 100%/auto
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Problems with images and IE

Posted 6 years 3 months ago #46566
PS : just checked again, by my side with a new image there is no width and height attributes filled by default

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.942 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1631 guests and 2 members online