Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Embeding svg in project page

A topic by Leo Red created May 11, 2023 Views: 185 Replies: 1
Viewing posts 1 to 2

I want to embed an interactive svg a project page. But, it turns about to be a pain to figure out

<img> will make the svg uninteractive

<object> is getting stripped by sanitizer

<iframe> makes the resolution crappy and it gets blurry and stuff

direct <svg> isn't working either

Is there a way to do it or I am doing it wrong? How am I supposed to embed them? Some help would be splendid

SVGs are a security problem, which is probably why you’re having trouble.

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.