Saturday, February 13, 2016

Google as an Image Server

If you're using a web-app that I created, you'll find that it only accepts URLs of google images. That's because the services I offer are free and I can't afford to host your images, but google will do it for free, and their format has lots of advantages, such as auto-sizing based on URL arguments.

Using google images is easy. Here's how:

If you have a google account, you can upload images. Go to to manage your images. Select the "Photos" icon in the left sidebar, and click the upload button at top right, or just drag and drop images from your computer into the webpage.

The first time you do this, you'll be prompted to choose the upload size. I find that google provides plenty of free space, so I always upload at the original size.

Once your image has uploaded, you can choose to add it to an album.

If this is your first image, you'll have to create a new album.

Once the album is created you can rename it.

While at the album, you can't easily get the image URL because they are displayed as background images.

Click on a thumbnail to view a larger version of the image. In this view you can right-click on the image and select "Copy image address" or "Copy image location" to get its URL.

By default, your album is private, but your images are not.

This album's URL is:

If you follow that link you'll get "Error 403, Forbidden" because that album isn't public.

This image's URL is:

If you follow that link, you'll see the image.

That is the style of URL that my web-apps require.
i.e., https://*

When you later return to, you can select the "Collections" icon in the left sidebar to find that album you created.

{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 607 ] }, "domain": "", "base": "\/michael", "url": "https:\/\/\/michael\/", "frameworkFiles": "https:\/\/\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/\/", "tmdbPoster": "http:\/\/\/t\/p\/w342" }