Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

SVG images (not logo)

Featured Lock Resolved Task
Can SPPB use SVG images for images (not just png/jpg) - as client wants sharp images.. PNG's seem to blur in SP Page builder. If it can't - when can it happen?

7 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Actually the image addon supports svg images. But in many cases svg images doesn't contain any height and width attributes by default. Those images won't show properly. But i'm giving you a temporary solution for that. We'll fix this in the next update.
1) please add a class in image addon if you are using svg images https://prnt.sc/kb56lp
2) please add this code on the custom css field https://prnt.sc/kb56q3
Here is the code

.show-svg img {
width: 300px;
}


I've attached an image for checking purpose.

-Best Regards

Attachments (1)

  • rejon_Ant_Icon.zip 2.7 KB

BEAM

More than a month ago #Permalink
Cheers - thank you

Sifat - Staff

More than a month ago #Permalink
You are most welcome

Sabrina Glasmacher

More than a month ago #Permalink
Hi,
Thanks for your query. Actually the image addon supports svg images. But in many cases svg images doesn't contain any height and width attributes by default. Those images won't show properly. But i'm giving you a temporary solution for that. We'll fix this in the next update.
1) please add a class in image addon if you are using svg images https://prnt.sc/kb56lp
2) please add this code on the custom css field https://prnt.sc/kb56q3
Here is the code

.show-svg img {
width: 300px;
}


I've attached an image for checking purpose.

-Best Regards





Hi,
thank you very much for these tips. They are working ;o)


But: I have linked some logos on the graphic but they are not working...

If you click on the svg and open it by right clicking and then "show" as single image, the hyperlinks are working. Do I have to add any code to the css of the addon?

Thank you very much in advance.

Best regards,
Sabrina

Sifat - Staff

More than a month ago #Permalink
Do I have to add any code to the css of the addon?

Hi,
Thanks for your reply. Would you please share your site url here? And please share the exact location where you are facing the issue.

-Best Regards

Sifat - Staff

More than a month ago #Permalink
I've sent you a PM Sifat ;)

Thanks for your PM :)


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

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 153
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 89
Toufiq

Toufiq

Total Accepted Answers: 21
Al Mamun

Al Mamun

Total Accepted Answers: 3
Pavel

Pavel

Total Accepted Answers: 3

112

Templates

289164

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us