Title: Sterling Hamilton's Replies | WordPress.org

---

# Sterling Hamilton

  [  ](https://wordpress.org/support/users/sterlo/)

 *   [Profile](https://wordpress.org/support/users/sterlo/)
 *   [Topics Started](https://wordpress.org/support/users/sterlo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sterlo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sterlo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sterlo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sterlo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sterlo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 79 total)

1 [2](https://wordpress.org/support/users/sterlo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sterlo/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/sterlo/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/sterlo/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/sterlo/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/sterlo/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] SVG file not showing on front-end of Website on Chrome Browser](https://wordpress.org/support/topic/svg-file-not-showing-on-front-end-of-chrome/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/svg-file-not-showing-on-front-end-of-chrome/#post-9671317)
 * Hey Jareb!
 * Can you link me to some example SVG files?
 * More often than not, there’s some code within the SVG causing it to get weird.
   The plugin itself just facilitates WordPress getting out of the way of the SVG
   plugin working — it doesn’t impose anything on SVGs specifically.
 * Happy to take a look.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Scalable Vector Graphics (SVG)] SVG support for WordPress](https://wordpress.org/support/topic/svg-support-for-wordpress/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/svg-support-for-wordpress/#post-9671308)
 * You are welcome!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] This plugin is compatible with PHP7?](https://wordpress.org/support/topic/this-plugin-is-compatible-with-php7/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/this-plugin-is-compatible-with-php7/#post-9381780)
 * Totally is!
 * It’s installed on many instances of PHP7 currently.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Media Gallery Throws PHP Fatal Error](https://wordpress.org/support/topic/media-gallery-throws-php-fatal-error/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/media-gallery-throws-php-fatal-error/#post-9381779)
 * Deploying shortly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Media gallery loads forever](https://wordpress.org/support/topic/media-gallery-loads-forever/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/media-gallery-loads-forever/#post-9381778)
 * Looks like this was related to invalid XML files, or the code running against
   non-xml files.
 * I have added some checks and balances. I will release here shortly.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Media Gallery Throws PHP Fatal Error](https://wordpress.org/support/topic/media-gallery-throws-php-fatal-error/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/media-gallery-throws-php-fatal-error/#post-9381742)
 * This is probably because the file is not a valid XML file.
 * Which might mean the code in the plugin is being called for files other than 
   XML files or that you are working with a bad SVG file.
 * I’m adding a fix for this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Media gallery loads forever](https://wordpress.org/support/topic/media-gallery-loads-forever/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years ago](https://wordpress.org/support/topic/media-gallery-loads-forever/#post-9296483)
 * I’ll take a look.
 * Sounds like some Javascript is breaking.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] SVG images not working as featured images in theme](https://wordpress.org/support/topic/svg-images-not-working-as-featured-images-in-theme/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/svg-images-not-working-as-featured-images-in-theme/#post-8846504)
 * Glad to hear it 🙂
 * Thanks for following up!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] replace social media icon in twenty seventeen ?](https://wordpress.org/support/topic/replace-social-media-icon-in-twenty-seventeen/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/replace-social-media-icon-in-twenty-seventeen/#post-8842389)
 * My plugin just enables the ability to use SVGs.
 * How you use them is entirely up to you.
 * My plugin lets you upload SVG files to the media gallery and such — if you are
   replacing icons by creating a child theme, you do not need my plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Getting started](https://wordpress.org/support/topic/getting-started-94/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/getting-started-94/#post-8842385)
 * Sure thing!
 * A quick “how to use” might be a good idea in the README.
 * In short, once the plugin is activated — you just upload SVG files to your media
   gallery.
 * Then you go to posts or other places needing that content and you use them as
   normal images.
 * One caveat, you may need to specify a height/width for them to work as browsers
   cannot automatically determine the height/width of an SVG.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Using Sensei for courses and featured image does not show](https://wordpress.org/support/topic/using-sensei-for-courses-and-featured-image-does-not-show/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-sensei-for-courses-and-featured-image-does-not-show/#post-8842376)
 * Ok cool. I see it now.
 * So check this out — it has a height of 1px and a width of 1px. You just need 
   to change it.
 * SVG: [https://www.luxcentric.com/wp-content/uploads/2017/01/Inbox-Zero-free.svg](https://www.luxcentric.com/wp-content/uploads/2017/01/Inbox-Zero-free.svg)
 * Here’s the problem:
    ⌊1x1 SVG⌉
 * Here’s it “fixed”:
    ⌊90x90 svg⌉
    -  This reply was modified 9 years, 5 months ago by [Sterling Hamilton](https://wordpress.org/support/users/sterlo/).
    -  This reply was modified 9 years, 5 months ago by [Sterling Hamilton](https://wordpress.org/support/users/sterlo/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] SVG images not working as featured images in theme](https://wordpress.org/support/topic/svg-images-not-working-as-featured-images-in-theme/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/svg-images-not-working-as-featured-images-in-theme/#post-8833283)
 * Hey [@vybiralova](https://wordpress.org/support/users/vybiralova/) — I’ll take
   a look into this.
 * It might be fixed now as a more recent version has been deployed. But I’ll confirm.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Using Sensei for courses and featured image does not show](https://wordpress.org/support/topic/using-sensei-for-courses-and-featured-image-does-not-show/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-sensei-for-courses-and-featured-image-does-not-show/#post-8832683)
 * Hey [@luxcentric](https://wordpress.org/support/users/luxcentric/) — I clicked
   the link, I see “This content is only available to members. Sign up FREE and 
   become a member.” — could you send me an example that doesn’t require registration?
   Even if it’s a temp page with a password.
 * My first go-to suggestion is to check if there is a height/width on the SVG. 
   Without a height/width on an SVG it might do what you are saying.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Got the ‘security’ error](https://wordpress.org/support/topic/got-the-security-error/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/got-the-security-error/#post-8832675)
 * This should all be fixed as of the latest version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Scalable Vector Graphics (SVG)] Option to disable features](https://wordpress.org/support/topic/option-to-disable-features/)
 *  Plugin Author [Sterling Hamilton](https://wordpress.org/support/users/sterlo/)
 * (@sterlo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/option-to-disable-features/#post-8832672)
 * Hey @ettika, is this still an issue?
 * If you are getting a 500 — you might be on an older version of PHP. You need 
   to be at PHP 7 or greater [https://wordpress.org/about/requirements/](https://wordpress.org/about/requirements/)
 * I don’t want to assume that’s the issue though, so I’ll leave this open for a
   few weeks to hear back from you.

Viewing 15 replies - 1 through 15 (of 79 total)

1 [2](https://wordpress.org/support/users/sterlo/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sterlo/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/sterlo/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/sterlo/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/sterlo/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/sterlo/replies/page/2/?output_format=md)