Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have a svg image say something like this: http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg

How can I embed an image like this within my tumblr post?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Enable HTML input mode: https://www.tumblr.com/settings → "Edit posts using": plain text/HTML (Using other input methods (rich text editor, Markdown) may work too, but I don’t know/use them.)

Then use the HTML img element, e.g. in a text post:

<img src="http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg" alt="SVG" />

The value of the alt attribute (currently "SVG") should contain an alternative description of the image content, used for example by visually impaired visitors or search engines.

For additional information, usually presented in a tooltip, you can use the title attribute:

<img src="http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg" alt="SVG" title="SVG logo" />
share|improve this answer
    
Great...but is it possible to upload a svg image? If I don't have it hosted anywhere? –  Arpit Agrawal Oct 2 '13 at 13:19
    
@ArpitAgrawal: Tumblr doesn’t support uploading SVG images from your computer, but you can upload it somewhere else and use the "URL" option in photo posts to reference the URL of the uploaded SVG file. There are countless (free) image upload services, e.g. imgur.com (as used by Stack Exchange). –  unor Oct 2 '13 at 13:24
    
imgur does not support svg. Does anyone know any other reliable photo upload site that supports svg? –  Arpit Agrawal Nov 6 '13 at 12:04
    
@ArpitAgrawal: Maybe you find a hoster in this thread. FWIW, there is the issue asking imgur to support SVG. –  unor Nov 6 '13 at 12:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.