Use Google Drive images in Nintex Automation Cloud forms

  • 13 December 2022
  • 0 replies
  • 269 views

Userlevel 6
Badge +22

Topic

When using a Google Drive shared link to an image file, the Nintex Automation Cloud form image control will not accept the URL and shows the error: "This image format is not supported."
 

Solution

The shared URL link from Google Drive is in a format similar to the following:

https://drive.google.com/file/d/119Ll3lUq5wa38StoEQkDjvyJmxWF9GEF/view?usp=sharing

To use this image in a Nintex Automation Cloud form, the first thing to do is trim the end of the URL starting at /view.

https://drive.google.com/file/d/119Ll3lUq5wa38StoEQkDjvyJmxWF9GEF

The next step is to replace /file/d with /uc?id= like so:

https://drive.google.com/uc?id=119Ll3lUq5wa38StoEQkDjvyJmxWF9GEF

At this stage, the Nintex Automation Cloud Image control will still not accept the URL, so we need to add a parameter at the end of the URL to reference that this is an image file.  We do that by adding &.jpg or a similar file extension.  Which extension is used is unimportant, as this is only added so that the image control accepts the URL.
The finished URL will look like:

https://drive.google.com/uc?id=119Ll3lUq5wa38StoEQkDjvyJmxWF9GEF&.jpg

Error

This image format is not supported.


0 replies

Be the first to reply!

Reply