Images stored on google drive are not loading on a website hosted on heroku

39 views Asked by At

I have put some images on a small web app but they are not opening. I can only see the image box but not the image, but when I use right click and open the image in other tabs, the image opens.

  • Images stored on Google Drive.
  • Server is Heroku
  • Created using Otree The following is the code.

<div style="text-align: center;"><img src="https://drive.google.com/uc?export=view&id=--code--" width="600px"></div>

This used to work without a problem but suddenly stopped working.

I tried reducing the image size, and security settings of my browser but the problem still exists.

0

There are 0 answers