23

While I love the rich image set readily available to me, I'd like to include custom images (my drawings, photos...) in draw.io documents. Is it possible?

I've tried CTRL+V with a clipboard image but with no success.

4 Answers 4

19

The marked answer is old and is no longer correct.
Click Arrange → Insert → Insert Image.

FYI make sure to:

  • click the checkbox to "remember my decision"
  • click the button "actual size" (otherwise the program will resize your image to something that is very low resolution and then your image will be very blurry)
6
  • 1
    this answer is technically correct, I'd prefer the drag and drop method Commented Mar 9, 2016 at 16:07
  • 1
    This answer is correct for the current version, and once you go through the steps of this method it allows for drag and drop, as well as a URL. Commented Apr 20, 2016 at 23:00
  • directly importing from local file can resize your image. You need to do the trick: keep the draw.io's page active, drag your image, before the mouse reach the page's region, remember to press and keep Ctrl button, then drop it in the page. Commented May 17, 2016 at 10:03
  • Em português esse mesmo comando encontra-se no menu "EXTRAS"
    – Jean
    Commented Feb 14, 2017 at 14:57
  • Is this answer still accurate in 2021 ? In particular, now that copying images stored in the clipboard is easy, is there now a way in aggie.io to paste images from the clipboard somehow ?
    – Shodan
    Commented Apr 4, 2021 at 20:30
4

You need to go logged into a Google Account to import images. When you are, click the image icon (4th from right on toolbar) and the Google Image Picker appears. Select from the options on the left to either DnD an image into the picker or pick an image from the local filesystem.

5
  • Ah, the Image icon. Now I feel really embarrassed (is long day at work a valid excuse? :-) ). Thank you for your help (unfortunately I cannot upvote you as I don't have enough rep right now). Commented May 28, 2013 at 6:45
  • removed my answer friend Commented May 28, 2013 at 10:00
  • I can't seem to find the option to load from "local filesystem". Having only just started using draw.io, I'm reluctant to hook it straight up to my Google Drive. Am I missing something? Commented Apr 5, 2014 at 19:53
  • 4
    @Michael12345 Just drag and drop the images from your file explorer to the diagram. Commented Apr 6, 2014 at 9:23
  • Oh wow @David, that's awesome - it works. I'm starting to really really like this software. Commented Apr 6, 2014 at 21:09
3

You can now simply drag-and-drop an image file onto the canvas to insert an image.

Precautionary note: If you are worried your browser will consider the dropped image as a link and set your url to the path of the image, potentially making you lose progress, then you can simply open a new draw.io tab, drag and drop the image on there, ctrl+c it, go back to your first draw.io tab, ctrl+v.

4
  • ctrl+c then ctrl+v on a new draw.io tab does not work. It remains a link. You have to save the image to local drive and then drag it back onto the draw.io diagram. Commented Jun 15, 2017 at 16:17
  • Hi Curtis! I just tested it, worked with me on Chrome ... here's exactly what I did: Opened two draw.io tabs, drag and drop an image onto the first one, it loaded, clicked the image, ctrl+c, moved to the next tab, ctrl+v
    – Rani Kheir
    Commented Jun 16, 2017 at 18:22
  • Right-click your image, choose "Edit Image". Does it start with "data:" or "http"? When I do your exact steps, my copied image remains a link (http). Commented Jun 21, 2017 at 19:36
  • Starts with 'data:', are you dragging an image from another tab? I was dragging images from my desktop ... but I just tried dragging an image from another tab (url ends with .jpg) and it copy pasted fine onto another draw.io tab too, it did start with 'https:' too.
    – Rani Kheir
    Commented Jun 21, 2017 at 21:25
1

Adding graphical representation for @Sridhar Jammalamadaka's answer along with re-sizing tip

  1. Click Arrange → Insert → Image...

enter image description here


  1. Either put image URL or click Open to pick image from your local storage

enter image description here


  1. Resize / move the image as per your liking

    • If the image is skewed to uneven proportions (happens quite often), then uncheck Constrain Proportions from the Arrange tab of right-side pane (that appears when inserted image is selected)
    • After that you'll be able to bring back the image to it's original proportions by manually moving the handles around the image
    • Once you've restored the image to desired proportion, you can re-check Constrain Proportions to keep that aspect ratio locked while you resize the image further

enter image description here

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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