Insert image to google docs getting stretched

Hi All,

I’ve got a scenario set up that creates a document from template in google docs using monday.com data.

Everything is working fine, the only problem is that when the module inserts an image to google docs its always stretching it, the original image is a portrait image and ive tried all methods including using the insert image to google docs module, adjusting the height and width dimension in the make module.

Ive also tried putting a placeholder image of the exact dimension and having the “create a document from template” module replace the image… But still not working!

See screenshots below.

any ideas will be greatly appreciated

this is how the image should look and how it is in the monday.com field

i tried using a placeholder with the same dimensions in the template:

and i keep just getting this as a result:


Welcome to the Make community!

Make doesn’t have a module for this endpoint (insert / replace an image) on Google Docs.

If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.

I think all you need is to call the batchUpdate endpoint directly using the Google Docs “Make an API Call” module:

Performs an arbitrary authorized API call.

with either a insertInlineImage or replaceImage request, depending on what you are trying to do.

For more information, see https://www.make.com/en/integrations/google-docs, and https://www.make.com/en/help/app/google-docs in the help centre.

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hi, thanks for your response.

What do you mean: Make doesn’t have a module for this endpoint (insert / replace an image) on Google Docs.

they have such a module for gogle docs: https://www.make.com/en/help/app/google-docs

Ah I see. So to specify the width and height of the inserted image, you need to expand the advanced settings.

Make sure the aspect ratio is adjusted to the image you are trying to insert.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

I’ve tried all that and cant get it working.

Anyone got any alternative suggestions?

In that case it’s a bug.

For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your account or scenario might not be suitable for an open forum discussion.

You can open a new ticket here, or if you are unable to login for some reason, you can create another new free account to access the ticketing system (which is only available to logged-in users). After submitting a new ticket, you will receive an automatic confirmation email with the subject “Ticket Created” in the subject. If you do not receive this, try sending the ticket again.

If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.