SPPB 6.3.1 - Bug in Image Addon Rendering - Forum | JoomShaper
Staff replied SP Page Builder

SPPB 6.3.1 - Bug in Image Addon Rendering

Asked by bergwerk 6 months ago Last activity 6 months ago

Hi!

I noticed, that in the latest Version in the Image addon there is a small bug resulting in invalid HTML - For the "Object Fit" Parameter, the semicolon is written on the wrong position (Outside of Quotes).

Wrong:

[...]('style="object-fit: ' . $image_fit . '";')[...]

Correct:

[...]('style="object-fit: ' . $image_fit . ';"')[...]

I found three instances in:
/components/com_sppagebuilder/addons/image/site.php

Line 124
Line 131
Line 144

Please fix in the next version!

Thanks!

1 reply

Ofi Khan Staff

Hello bergwerk,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

I will ask the developer tam to review the code. Please allow me some time as the team is on a holiday for two weeks.

Best regards

Log in to reply.