We have detected that you are using AdBlock.

Please disable it for this site to continue.

SVG Template by Xon
Require StandardLib v1.23.0+
php 8.4+ compatibility fixes
Prevent XF2.3 injecting the template name for admins into SVG templates
Fix separate <style> chunks in .svg templates would get rendered in reverse order
Fix a missing xmlns=http://www.w3.org/2000/svg attribute on the <svg> tag could cause compatibility issues
Fix LESS in .svg templates wasn't correctly supported, and CSS in a svg template's <style> tag without XML escaped attributes would error.
Add "getSvgAsInlineCss" template method to automate pulling .svg template files and in-lining them into .less templates
  • Fix falsy template name for svg's wasn't supported (ie 0.svg)
  • Fix style variant support for getSvgUrl/getSvgUrlAs could fail when using property_variation() template method
Provide a better error message when getSvgUrl is used to request a png of an svg when svg => png rendering isn't setup
  • Fix internal server error being generated instead of a 404 when requesting an invalid svg
This add-on is now avaliable on atelieraphelion.com
  • Require php 7.2+
  • Require StandardLib v1.18.0+
  • If using resvg support, recommend updating to v0.35.0.
    Pre-compiled linux x86_64 binary has been made available here.
    Compiled on CentOS 7, works on Ubuntu 18.04/20.04/22.04
  • Document using resvg v0.35.0+ with "CLI - Pipe" mode, which avoid temporary files when converting SVGs to PNGs
    Example using resvg v0.35.0+, configure CLI - Pipe command with.
  • Code:
    /usr/local/bin/resvg --quiet --resources-dir=/tmp/ - -c
Top
Live activity
Just now · VUInsider.com