Jump to content

Recommended Posts

Posted (edited)

Hello

I'm just looking around for now, but I was wondering it it's possible to embed a public image from Google Drive or Dropbox?

I have the following shared image on Google drive: (for testing purposes only)

https://drive.google.com/file/d/18Ng0di6xUk7-OQSckNZl5bHmq4BySyW5/preview

But I can't get it to work as an embedded image - am I missing something, or does it simply not work for Google Drive?

When I click "Other Media" and "Insert image from URL" and copy the URL, the box turns red like it's not accepting the link. Is there another way?

Thanks!

Edited by ameinild
Explain
Posted

You have to find a photo hosting site like Flickr (among others) and then link the photo into your picture. Google drive doesn't work as far as I know, and I don't know about Dropbox.

There are tutorials on EB about this type of thing, but I don't know where or if they are up to date. Maybe @aFrInaTi0n or another mod can help you out with this...

Posted

As Murdoch explained already, google drive is not allowing to share the images directly with their links, instead the link is just leading to the Google Drive UI, then showing the requested image in it's UI.

The known working and well known providers are listed in our guide, but others may work as well.

May it be worth for putting a line for known not working providers (mentioning Google Drive)?

Posted (edited)
11 hours ago, JesseNight said:

Dropbox was once supported for hotlinking but not anymore for a while now.
Another good free image host that doesn't require registering is ImgBB.

I just tested Dropbox, and it still works. When you get the image link, you have to replace dl=0 with raw=1 at the end, then it works.

See this article, which is still valid: https://community.dropbox.com/en/discussion/245432/how-do-i-embed-images-with-a-direct-link-from-dropbox

Edited by ameinild
Posted

I know that article and method from before. Somewhere in 2019-2021 it wasn't working anymore and the direct links would be only temporary ones that constantly changed. I remember well because before that I've used it a lot. Not sure if that was reverted again...

Posted

I just asked AI and it told me the ?raw=1 method shall still work and the links shall also have no expiry date - but they may get invalid as soon as the original file in the dropbox has been moved (or renamed).

So I reckon it would be wise for me also mentioning Dropbox and ImgBB, possibly both with a little visual guide, wouldn't it?

Posted

Sure, but I would actually test it first instead of blindly trusting AI. It's plenty of times wrong. Currently not having it in use myself but I can easily find a lot of reports from 2022 from people saying raw=1 is no longer working.
Why people assume AI is always right these days is beyond me... :look:

Posted

Yepp, may be a little bit more reading from their original policies.

But to be fair to ImgBB: Moving images within a provider may change the URLs as well & contents may get not accessible.

Posted
2 hours ago, aFrInaTi0n said:

I just asked AI and it told me the ?raw=1 method shall still work and the links shall also have no expiry date - but they may get invalid as soon as the original file in the dropbox has been moved (or renamed).

So I reckon it would be wise for me also mentioning Dropbox and ImgBB, possibly both with a little visual guide, wouldn't it?

I think you should add them to the list of supported for now - as mentioned I tested the Dropbox ?raw=1 method in the beginners testing thread, and it works fine.

Posted
46 minutes ago, aFrInaTi0n said:

Yepp, may be a little bit more reading from their original policies.

But to be fair to ImgBB: Moving images within a provider may change the URLs as well & contents may get not accessible.

True. I usually recommend ImgBB to people who don't wanna manage albums or even create an account, and just want a quick upload to share a pic without having to ever look back at it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...