SVG Support

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

By pault - October 5, 2017

I can see that a post has been added created previously about this regarding the creation of SVG thumbnails in the Admin section but I'm using CMSB 3.10 and am finding that SVG files aren't displayed on the site using the standard code generator code for pulling in images.

Is there a workaround for this as we're trying to write a system which allows users to upload replacement icons which lends itself very well to using SVG.

Thanks, Paul.

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)