Image Insertion

Microsoft Free

Inserts images into code files

Microsoft
(19) Review
Visual Studio
2010
Download (21,018)
2/25/2010
1.5
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (19)
Q and A (15)
Sign in to write a review
Sort by:

by n122vu | April 12 2013

Excellent extension! Make it installable in Express Editions and I'll give it five stars - this would be invaluable in making the Express Editions a learning tool for explaining code functionality.

by Stitch_626 | April 03 2013

not working

by Pascal Saille | July 20 2012

by Dragan Radovac | May 05 2012

by Nick Fitton | October 06 2011

Drag and drop placement did not work, image was repositioned to another part of the code. Collapsable code region not compatible. Image no longer appears. There are just too many bugs (VS2010 Premium).

by Ondrej Spanel | August 15 2011

I wanted to try if it works with C++ as well. As soon as the image drop cursor was hovering over the C++ source, Visual Studio 2010 has displayed a message box about an exception. Once I have dropped the file, it opened to be edited as a resource.

by Ed Price - MSFT | June 03 2011

by hamlin11 | April 24 2011

This is a nice experiment, at best. This is a very incomplete implementation of this feature. Does not work AT ALL when the coder utilizes Collapsible Regions or Collapsible Code Blocks.

This is in no shape at all to be used in any moderate or heavy development environment - not even solo.

Great idea, very incomplete implementation.

by fasdewx | February 12 2011

I don't recommend this extension. An image will not insert unless it fits in the code window when you drag and drop, then (at least in my case) you can't undo it. If you code is hidden, the image will randomly appear and disappear when you scroll up and down, and once you accidentally resize an image to be large it can temporarily vanish and become impossible to select it again. Not worth the hassle

by 爱让一切都对了 | January 07 2011

click the picture inserted, the document scrolls to the top. Unable to resize the picture.

一点击插入的图片,页面就自动滚动到最上端了。叫我怎么更改图片的大小?

by pAyA x360 | August 14 2010

by James Klett | August 04 2010

Nice but would be nice if the tool would scroll the window up/down/lft/rgt when dragging the image.

Example: Drop an image at the bottom of a multi page file. Drag the image up to the top of the window. The file doesn't scroll so you cant drag to the top of the file

by Khabarakh | August 01 2010

by Owen1980 | July 05 2010

by acoder429 | March 26 2010

agree! this is the best comment system there is, if nothing else.

by dancingsanta | March 26 2010

by Francois Vanderseypen | December 10 2009

Lovely, awesome, should be part of VS without extension.

by Jan Bakker | August 18 2009

by vga | May 25 2009

Sign in to start a discussion


  • VS 2013
    1 Posts | Last post June 03, 2014
    • Please make it so it works with VS2013 - thanks.
  • vs 2013
    1 Posts | Last post April 14, 2014
    • will work on vs 2013?
  • Update for VS2012
    1 Posts | Last post December 10, 2012
    • Can you please update this for VS 2012 ? :)
  • Isn't it ironic that the Image Insertion image (in the Descriptions tab) isn't showing up?
    2 Posts | Last post June 03, 2011
    • I'm just saying. That seems ironic. Is the image showing up for you?
    • Never mind. I got it. Overall, I think this works pretty well. Would be nice to rev this and fix the bugs.
  • Pictures Should Hide!
    2 Posts | Last post January 31, 2011
    • I wish the pictures would disappear/hide when the code its attached to is collapsed!!
      
      The Pictures get in the way sometimes, when the Code it is referring to is collapsed, but the picture is still there.
      
      
    • Try draging to the far left of the code display and drop there.  It's the only way I can get it to work.  Also play with adding comment lines.  
      
      Greatest idea since sliced bread -- but the implementation is wanting badly.
  • Crash on Xml files
    1 Posts | Last post November 10, 2010
    • When I drag an image onto an XML file Visual Studio crashes.
      Dragging it onto a .cs file works.
      Why´s there a difference? Will a bug fix come?
      
      -Ralf
  • Exception
    2 Posts | Last post August 01, 2010
    • I am not using the extension at the moment, although I like its concept, but I got an exception in VS while moving back and forth between tasks using Alt-Tab:
      System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
         at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
         at Microsoft.VisualStudio.Utilities.PropertyCollection.GetProperty(Object key)
         at Microsoft.VisualStudio.ImageInsertion.ImageAdornmentRepositoryService..ctor(ITextBuffer textBuffer)
         at Microsoft.VisualStudio.ImageInsertion.ImageAdornmentManager..ctor(IServiceProvider serviceProvider, IWpfTextView view, IEditorFormatMap editorFormatMap)
         at Microsoft.VisualStudio.ImageInsertion.ImageInsertionFactory.<>c__DisplayClass1.<GetOrCreateManager>b__0()
         at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)
         at Microsoft.VisualStudio.ImageInsertion.ImageInsertionFactory.GetOrCreateManager(IWpfTextView view)
         at Microsoft.VisualStudio.ImageInsertion.ImageInsertionFactory.Microsoft.VisualStudio.Text.Formatting.ILineTransformSourceProvider.Create(IWpfTextView view)
         at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.<BindContentTypeSpecificAssets>b__9(ILineTransformSourceProvider p)
         at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)
      
    • Still not fixed :(
  • It doesn't seem to play well with #region... (VS 2010 RC)
    2 Posts | Last post June 18, 2010
    • There's a problem with #region collapsed. It doesn't become invisible... And, also, I have hard time to place the image to the exact line that I need. Sometimes, the image seems being added but I can't see it and sometimes it jumps to another line (I do have some spaces for the lines). Can you tell me is there a constraint/check for the spaces that the image needs to be place at? Thanks!
    • Yes, I see this as well. It would be really nice for it to recognize both #region collapsed and "Hide Selection". That way you could collapse them down when you don't need to look at them.
      
      I think I have finally figured out the "trick" to getting the image where I want it:
      1) Add a comment line that defines the image. The image then appears to be "hooked" to this line.
      2) Drag the image and watch for a blue line ... it is often at the very top of the image and not at the location of your cursor.
      3) When the blue line is over your added comment, drop the image.
      
      The image then appears to stay with the line that it was dropped on.
  • I assume these are not compiled into your executable/dll?
    1 Posts | Last post June 18, 2010
    • Just wanted to confirm that these are not then a part of the compiled resources, correct?
      
      So if I add a lot of these to my code, it won't change the size of my compiled files?
      
      Thanks!
  • I cannot drag from a Model project
    1 Posts | Last post June 18, 2010
    • I saved my images to my Model project, but I cannot drag and drop them from there. I tried moving the images to the WinForms project and it worked fine from there. Any idea why it does not work from the Model project?
      
      I also second the desire to paste directly from the clipboard instead of having to have extra files.
      
      Thanks!
1 - 10 of 15 Items