Insert Picture from Web: Windows Live Writer in Windows 7

This incident just goes to show I'm the type that's always late to the party.

I finally updated my main machine last week to Windows 7 Ultimate (the last PC I have to be so upgraded) and so this afternoon happened to be the first time I wrote a blog post on Windows 7. Not only that but this particular blog post also needed to include an image from the web. Since I use Windows Live Writer (WLW), I duly went to Insert | Picture, and the old dialog had gone to be replaced by the standard Windows 7 FileOpen dialog. This dialog has no capability to insert an image from the web. What the...?

A bit of surfing later, I came across this apologetic blog post from May from Brandon Turner who's on the WLW team at Microsoft. It seems that Windows 7 had caused a bug in their custom file open dialog (viz., support for libraries) so they abandoned the custom code for the standard dialog. At the time they rationalized that practically no one used the Insert picture from web functionality and so practically no one would notice. Ha!

Anyway Brandon describes a workaround that would work until they add the Insert picture from web functionality back. In a browser, go to the page that contains the image (somewhat hard if you're storing the image on Amazon S3, but moving right along...), right-click on the image and select "Copy" (on Firefox, it's Copy Image Location; on Chrome, it's Copy Image URL). Now go to WLW and paste it where you want the image to appear. WLW will create the correct <img> element in your page to point to the URL on the web.

I will also note in passing — donning my DevExpress hat to do so — that this demonstrates an extremely good reason to avoid custom file open dialogs when writing applications (or when purchasing component libraries).

Now playing:
Waterboys - Suffer
(from Dream Harder)



Posts on similar topics...

No Responses

Feel free to add a comment...

Leave a Response

Some MarkDown is allowed, but HTML is not. (Click to learn more.)

  • Emphasize with italics: surround word with underscores _emphasis_
  • Emphasize strongly: surround word with double-asterisks **strong**
  • Inline code: surround text with backticks `IEnumerable`
  • Unordered list: start each line with an asterisk, space * an item
  • Ordered list: start each line with a digit, period, space 1. an item
  • Insert code block: start each line with four spaces
  • Insert blockquote: start each line with right-angle-bracket, space > Now is the time...

Search

About Me

I'm Julian M Bucknall, the M because it's my middle initial and because I and the other Julian Bucknall (the movie guy) would like to differentiate ourselves.

I'm a programmer by trade, an actor by ambition, and an algorithms guy by osmosis. I write articles for PCPlus in my spare time, not that there's much of that.

Julian M Bucknall Apart from that, an ex-pat Brit, atheist, microbrew enthusiast, Pet Shop Boys fanboy, slide rule and HP calculator collector, amateur photographer, Altoids muncher.

DevExpress

I'm Chief Technology Officer at Developer Express, a software company that writes some great controls and tools for .NET and Delphi. I'm responsible for the technology oversight and vision of the company.

Validation

Validate markup as HTML5 (beta)     Validate CSS

Bottom swirl

Archives

February 2012 (6)
SMTWTFS
« Jan  
1234
567891011
12131415161718
19202122232425
26272829

Like this Archive Calendar widget? Download it here.

Social networking

Google ads

The OUT Campaign

The OUT Campaign

My Tweets

  • LOL! RT @secretGeek: Watching the NoCss movement gain momentum
  • Blog post: More on caring less about clichés, or not http://t.co/P1Unt4y9
  • @peterritchie Oh my god, the HAIR! It's all over his head! Ewwww. /cc @MillerMark
Bottom swirl