Reputation: 21
Is it possible to insert an image directly inside a cell in Google Docs using the API? I wanted to put an image only on the first column in a 1x2 table cell. I've read the documentation, **insertInlineImage**
said: The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation.
How do I do this in Google Docs python?
Upvotes: 2
Views: 496
Reputation: 3619
This is possible, you can either:
{{myImage}}
One current limitation is that image must be accessible from a public URL (see docs), there is currently a feature request/bug to allow images to be uploaded too
Upvotes: 1