- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
dmerryman
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220I realize this may not be a theme specific problem, but I want to ensure I explore all angles.
I’m attempting to use .svg files as featured images. I know the plug-in basically works, at least within the body of posts as I’m not experiencing any problems there, but when I use an .svg file as a featured image for the post, a generous amount of extra white space is added above and below the image.
Screenshots of SVG versus PNG:
http://www.architectofideas.com/misc/featuredImageAsSVG.jpg
http://www.architectofideas.com/misc/featuredImageAsPNG.jpgI’m wondering if this has anything to do with the problem?
Screenshot of SVG’s interpretted file size:
http://www.architectofideas.com/misc/fileSize0x0.jpgRegardless, I’m ultimately wondering how to address this. Is there an edit I can make to the .php files to force a static size?
Thanks in advance.
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236dmerryman
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Ack! I totally answered my own question. I saw another post about the featured image size being 600 x 400 pixels and ensured my .svg matched. I believe the plug-in is to blame as it isn’t recognizing the .svg dimensions.
Tagged: Featured Image, svg, svg plugin
You must be logged in to reply to this topic.