SVG Support

3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 6, 2017   (RSS)

By Toledoh - October 5, 2017

Hi Paul.

I use SVG's quite often, and in a number of ways.

  • Simply as image files that I upload via the standard upload fields - which seems to work fine for me? so <img src="XXX.svg" /> etc.
  • I also add text.boxes and enter the SVG as code.  This works well for when I want to be able to apply CSS to the SVG's on the page (animations, mouse-over effects etc)
  • I also have SVG's in the code of my pages, yet include variables that I can edit via the CMS.  This is good for when I need to update in image based on data provided (like a house and land masterplan where I edit classes in the SVG code based on status of the items in CMSB.)

Does that help?

Cheers,

Tim (toledoh.com.au)

By pault - October 6, 2017

Thanks for your reply.

You're right, I was using thumbUrlPath to display the image which of course doesn't exist for SVG's.  Changing this to urlPath works.

The image isn't displayed in the CMS admin but that not a major problem.

Regards, Paul.