How to Embed Images and Videos in Your Comments

By Tim Odell Aug 3, 2010

While occasionally a bit wonky, our comment engine, IntenseDebate does have a few nifty features. Among them, the ability to embed images and YouTube videos. Jump for the how to.

Images:
This is easy if you know HTML, complicated otherwise…because you just do a standard HTML image code. It looks like this:
<img src="IMAGE URL" width="600">
To embed the picture above, you’d do:
<img src="https://hooniverse.com/wp-content/uploads/2010/08/Success-Kid-Image-Embed-Accomplished.jpg">
Do not use the forum-style BBCode [image][/image] square-bracket stuff, because it won’t work. The width=”600″ bit is only necessary on big pictures, those wider than the comment field. We’d like to be able to see all of your pretty picture at once without scrolling.
For the uninitiated, “IMAGE URL” must be the URL of an image, not the page it’s on. It must end in “.jpg” or some other image file format and be hosted on the interwebs, not your computer. I.e., if you put in “C:\Documents and Settings\mad_science\My Documents\My Pictures\jeff puking.jpg” it will not work. The easiest way to get an image URL is to right-click the image, then select “copy image URL”, “Open image in new tab” or “Properties” and you’ll see the image URL. Go ahead and try it on the image above. Success Kid will let you know if you’ve succeeded.
A bit of “netiquette”: this whole process of embedding an image hosted somewhere else is known as hotlinking. If you hotlink someone else’s image for our comments, the courteous thing to do is include a link back to the page where you found it.
A note on flickr-hosted images: in the new flickr interface, at the “Share This” menu at the top of an image, select the option “Grab the html” and copy/paste that whole thing in. It makes the picture and link-back all in one. Other photo hosting sites have similar options.
YouTube Videos:

There’s a little button on the comment interface, into which you paste the youtube URL. YouTube’s “embed this video” doesn’t work because we don’t allow objects to be embedded. Aside from sounding uncomfortable, it leaves the door open for all kinds of weird stuff to show up.

Currently, YouTube videos are the only ones you can embed. For Vimeo or Streetfire or whatever just drop the link to the video in, and IntenseDebate will automatically turn it into a clickable link.

153 thoughts on “How to Embed Images and Videos in Your Comments”
  1. thank you for being so much more friendly than all other internal combustion engine (and other engine) sites…… but i will continue to post links because i often times peruse the wares via mobile devices, leeching off of "un-protected" wireless networks.. or my cell network… embedded videos and pictures (while greatly appreciated and enjoyed!!!!!) make for slower loading times…
    no worries all.. continue forth. just a note.
    i love you all… and you service obscure gearheads of all sorts much better than any other site!!!

        1. Within the code, just add "width=500" (the quotation marks may not be necessary, but they work for me. It'll look something like …img.jpg" 'width=500" < /a>

  2. Cheers for posting this, I had been attempting the old 'lopnik style where you don't close the >.
    I get to look less technologically backwards now!

  3. Funny, I just rummaged in my collection of bookmarks for my HTML cheat sheet to figure out how to post an image in the Porsche engine thread. That's what I get for reading back'ards…

  4. To avoid hotlinking (which may not be allowed by the site hosting the graphic, even if you credit it) and if you don't want to sign up for Flickr or whatever, download the image to your computer and then upload it to a site like Imageshack. It's free, and no registration needed, and they'll give you a URL to use.

  5. Ooooo that's exciting. Now if I can just figure out how to make my avatar thingy show a picture I will be set. I pretty much only play internet on my phone, and once I got the comments to stop disappearing I figured out how to make a login. Baby steps.

  6. <object width="480" height="295"><param value="http://www.youtube.com/v/grcjB4MQxWY&amp;hl=en&amp;fs=1&amp;rel=0&quot; name="movie"/><param value="true" name="allowFullScreen"/><param value="always" name="allowscriptaccess"/><embed width="480" height="295" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://www.youtube.com/v/grcjB4MQxWY&amp;hl=en&amp;fs=1&amp;rel=0"/></object></div&gt;

  7. <object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/MoiYFsrkS4k?version=3&feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/MoiYFsrkS4k?version=3&feature=player_detailpage&quot; type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>

Leave a Reply

Your email address will not be published. Required fields are marked *

The maximum upload file size: 64 MB. You can upload: image, audio, video. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here