How to use Google Photos to host images for your website
How to use Google Photos to host images for your website
Anonim

Google Photos is arguably the best photo storage service today. However, it has one drawback - the lack of direct links to files. A life hacker knows how to deal with a problem and learn how to embed a photo into any web page.

How to use Google Photos to host images for your website
How to use Google Photos to host images for your website

If you decide to show someone your image stored in Google Photos, the service will give you the link you need. But this link will not point to the photo itself, but only to the page with the image.

A small web application, Embed Google Photos, was created to help in this situation. It can not only scrape a direct link to a file from the depths of a photo service, but also generate HTML code to insert it into a web page.

Here's how to use this service.

  1. Open the page with the photo you need in Google Photos.
  2. Click on the Share button. Select "Get Link" in the pop-up window.
Embed Google Photos 1
Embed Google Photos 1
  1. Copy the given link.
  2. Go to the Embed Google Photos service page. Paste the link from the clipboard into the field and click the Generate Code button.
Embed Google Photos 2
Embed Google Photos 2

You will be presented with a direct link to the image and the embed code in the web page

You can just paste this code in any editor, and the picture will be loaded on your page directly from the Google server. Like this:

Thus, you can use the Google Photos service as a free image hosting for your site. Unfortunately, we do not know if there are any restrictions on traffic or the number of requests, so use the method at your own risk.

By the way, who would guess what kind of fruit is in the photo?

Embed Google Photos →

Recommended: