CompuTechBiz - IT Services

How to Embed a Google Drive Image in a Webpage

Google Drive image links do not embed properly by default because the shared URLs provided by Google are not direct image links.

However, there is a simple URL modification workaround that allows you to successfully embed Google Drive images on a webpage.

For example, the original Google Drive link:

https://drive.google.com/file/d/1zKCxZ_Hy-2YzZMn2ymWFZqTWKdAAyxYY/view

--[you will see this text if the embed fails]--

Can be transformed into a direct image URL:

https://lh3.googleusercontent.com/d/1zKCxZ_Hy-2YzZMn2ymWFZqTWKdAAyxYY

--[you will see this text if the embed fails]--

Sources: