9

I have a drawing in Google Docs Drawings, and I would like to embed a PNG/GIF of it in a web page, but I would like the embedded image to remain up to date with any changes made to the drawing.

Is there a way to do this?

It wouldn't matter if the image was only updated once per day or something, by the way. Ideally I would like something like this:

<img src="docs.google.com/drawing/png?docid=123456789123456789&width=400&height=200"/>

1 Answer 1

16

From the File menu choose Publish to the web.... Choose an image size, then click the Publish button. Click OK to confirm and you will get a URL suitable for the src attribute in an img tag.

2
  • Has this been tested? I just found this and if it works it would be epic...!!! Jun 21, 2015 at 1:36
  • Yeah this works amazingly! Exactly what I wanted!
    – visc
    Aug 27, 2016 at 20:29

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.