{"id":363897,"date":"2026-09-11T04:04:18","date_gmt":"2026-09-11T04:04:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/svgflow\/"},"modified":"2026-09-11T04:04:05","modified_gmt":"2026-09-11T04:04:05","slug":"svigent-tools","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/svigent-tools\/","author":23560247,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Svigent Tools","header_author":"Abinesh Selvarasu","header_description":"Safe SVG Upload & Smart Inliner. Enable safe SVG & SVGZ uploads with automated DOM sanitization, clean Media Library thumbnail previews, automatic dimension detection, and high-performance client-side inline rendering.","assets_banners_color":"","last_updated":"2026-09-11 04:04:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/wordpress.org\/plugins\/svigent-tools\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/svigent-tools\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":41,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"abineshselvarasu","date":"2026-09-11 04:04:05","revision":3690732}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3690732,"resolution":"1","location":"assets","locale":"","width":1064,"height":849}},"screenshots":{"1":"<strong>Svigent Tools Settings Screen:<\/strong> Intuitive configuration with live security status badge and 1-click selector copy helper.","2":"<strong>Media Library Grid Preview:<\/strong> Crisp, native vector thumbnails in the WordPress Media Library.","3":"<strong>Block Editor Integration:<\/strong> Seamless inline SVG styling using standard WordPress image classes."}},"plugin_section":[],"plugin_tags":[275014,200126,2904,280159,2905],"plugin_category":[],"plugin_contributors":[280160],"plugin_business_model":[],"class_list":["post-363897","plugin","type-plugin","status-publish","hentry","plugin_tags-inline-svg","plugin_tags-safe-svg","plugin_tags-svg","plugin_tags-svg-tools","plugin_tags-vector","plugin_contributors-abineshselvarasu","plugin_committers-abineshselvarasu"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/svigent-tools.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/svigent-tools\/assets\/screenshot-1.png?rev=3690732","caption":"<strong>Svigent Tools Settings Screen:<\/strong> Intuitive configuration with live security status badge and 1-click selector copy helper."}],"raw_content":"<!--section=description-->\n<p><strong>Svigent Tools<\/strong> is a lightweight, modern, and secure solution for using SVG (Scalable Vector Graphics) in WordPress.<\/p>\n\n<p>By default, WordPress restricts SVG uploads due to potential XML-based vulnerabilities (such as Cross-Site Scripting and XML External Entity attacks). Svigent Tools solves this by implementing enterprise-grade DOM-level sanitization on upload, giving you complete peace of mind while designing beautiful, resolution-independent vector graphics.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Enterprise-Grade SVG &amp; SVGZ Sanitization:<\/strong> Automated XML inspection powered by <code>enshrined\/svg-sanitize<\/code> to strip malicious scripts, event listeners, and dangerous entities before files reach your disk.<\/li>\n<li><strong>Native Media Library Previews:<\/strong> Automatically fixes broken 1x1 or invisible SVG thumbnails in both Grid and List views in <code>wp-admin\/upload.php<\/code>.<\/li>\n<li><strong>Automatic Dimension Detection:<\/strong> Parses <code>viewBox<\/code> and <code>width<\/code>\/<code>height<\/code> coordinates on upload and writes them to WordPress attachment metadata to preserve natural aspect ratios.<\/li>\n<li><strong>Zero-Overhead Frontend Inlining:<\/strong> Replaces target <code>&lt;img&gt;<\/code> elements with raw <code>&lt;svg&gt;<\/code> using lightweight client-side Vanilla JS (&lt; 2KB), enabling dynamic CSS styling (<code>fill: currentColor<\/code>) and hover animations.<\/li>\n<li><strong>Smart In-Memory Caching:<\/strong> Deduplicates identical SVG network requests so repeated icons on a page are downloaded only once.<\/li>\n<li><strong>Dynamic DOM Observer:<\/strong> Fully compatible with Gutenberg block insertion, Elementor, and AJAX infinite scroll using <code>MutationObserver<\/code>.<\/li>\n<li><strong>Role-Based Upload Permissions:<\/strong> Restrict SVG upload privileges to Administrators only or extend permissions to all users with upload capabilities (Authors\/Editors).<\/li>\n<li><strong>Lossless Vector Scaling:<\/strong> Skips unnecessary raster thumbnail generation (GD\/Imagick) and disables redundant <code>srcset<\/code> generation to conserve server disk space.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Log in to your WordPress Admin Dashboard.<\/li>\n<li>Navigate to <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Search for <strong>Svigent Tools<\/strong> or upload the <code>svigent-tools.zip<\/code> archive.<\/li>\n<li>Click <strong>Install Now<\/strong> and activate the plugin.<\/li>\n<li>Go to <strong>Settings \u2192 Svigent Tools<\/strong> to configure permissions and inlining preferences.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20does%20wordpress%20restrict%20svg%20uploads%20by%20default%3F\"><h3>Why does WordPress restrict SVG uploads by default?<\/h3><\/dt>\n<dd><p>SVG files are XML documents, meaning they can contain executable JavaScript and external entity references that could lead to Cross-Site Scripting (XSS) or XXE attacks. Svigent Tools strips all hazardous elements during upload while preserving all visual graphics, gradients, and shapes.<\/p><\/dd>\n<dt id=\"how%20do%20i%20render%20an%20svg%20inline%20on%20the%20frontend%3F\"><h3>How do I render an SVG inline on the frontend?<\/h3><\/dt>\n<dd><ol>\n<li>Enable <strong>Frontend Inline Rendering<\/strong> under <strong>Settings \u2192 Svigent Tools<\/strong>.<\/li>\n<li>Add the class <code>style-svg<\/code> (or your custom selector) to any Image block or element.<\/li>\n<li>Svigent Tools will automatically convert the <code>&lt;img&gt;<\/code> tag into an inline <code>&lt;svg&gt;<\/code> element on the frontend.<\/li>\n<\/ol><\/dd>\n<dt id=\"does%20svigent%20tools%20work%20with%20page%20builders%3F\"><h3>Does Svigent Tools work with page builders?<\/h3><\/dt>\n<dd><p>Yes! Svigent Tools works out of the box with the WordPress Block Editor (Gutenberg), Elementor, Beaver Builder, Divi, and classic themes.<\/p><\/dd>\n<dt id=\"do%20i%20need%20to%20write%20code%20to%20use%20svigent%20tools%3F\"><h3>Do I need to write code to use Svigent Tools?<\/h3><\/dt>\n<dd><p>No! Svigent Tools works automatically. Once enabled, you can upload SVGs and style them using simple settings in your WordPress Admin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Added safe SVG and SVGZ upload handling.<\/li>\n<li>Integrated DOM-level XML sanitization via <code>enshrined\/svg-sanitize<\/code>.<\/li>\n<li>Added Media Library grid and list thumbnail preview styling.<\/li>\n<li>Added automatic <code>viewBox<\/code> dimension extraction and attachment metadata normalization.<\/li>\n<li>Added client-side Vanilla JS inlining engine with in-memory caching and <code>MutationObserver<\/code>.<\/li>\n<li>Added role-based upload restriction settings.<\/li>\n<\/ul>","raw_excerpt":"Enable safe SVG &amp; SVGZ uploads with automated DOM sanitization, Media Library preview fixes, dimension detection, and fast client-side inlining.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/363897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=363897"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/abineshselvarasu"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=363897"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=363897"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=363897"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=363897"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=363897"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=363897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}