Langsung ke konten utama

Host Template Images For Free On Picasa

If you use a third party template or customize the design of your blog, chances are you'll need to find hosting for images used in the design.

Many Blogger designers use Photobucket, Flickr and other free image hosting solutions. It's also possible (albeit unnecessarily complicated) to upload images to Blogger or Google Sites.

But my personal favoured image hosting service is Picasa Web Albums. This free Google powered service offers unlimited bandwidth and a generous 1gb of storage - perfect for serving up any images you need for template visualisation.


If you already host a blog with Blogger, any images which you upload to your blog posts will already be hosted on Picasa Web Albums in folders according to your blog name, even if you haven't already activated your Picasa account.

Simply go to the Picasa Web Albums home page and log in using your Google account. Once logged in, you'll see all of your Picasa hosted albums, including any which are utilized for storing images uploaded to your blog posts:


From here you can upload your own images using the web interface, then copy the image URLs for use in your custom Blogger template.


How to upload your images to Picasa

Once you've logged in to Picasa Web Albums, click the "Upload" button near the top of the page, then choose which folder in which you would like your images to be contained:



For better organization, I generally use the folder of the same name as the blog I'm working on, though it really makes no difference if you'd prefer to use a different one.

When you have selected an album, you'll be presented with this page where you can upload up to 5 images at a time to your folder:


Upload your images, and if necessary, repeat until you have uploaded all of the images you need for your template. Once you've finished uploading, you'll be able to view thumbnails of your images on the page for your album:


How to link to images you've uploaded to Picasa

When using images within your Blogger template, you'll need the images' URLs.

To find the URL of your images, click on the image thumbnail in your album to be presented with the image's "page":

If your image is not large, you could right-click on the preview image and choose to copy the image's URL to your clipboard, ready to paste where required within your template.

However, if your image is of a large size (such as a full-page background image), you'll need to use a different method.


For images up to 800px wide or tall

On the right hand side of the image page, you'll see a column of options. Click on the "Link to this photo" link to see the following menu:


In order to retrieve the link to the original sized image, you'll need to change the following options:
  • Select Size: Choose "Original Size" from the dropdown menu
  • Check "Image Only (No Link)"
Finally, copy the link generated in the "Embed Image" text area which will be the accurate URL for your image at it's true size.

If your image is larger than 800px tall/wide

By default, the largest size presented for embedding is 800px tall or wide. Luckily Picasa does store the image with it's original dimensions, and it's simple enough to access the URL.

On the Image Preview page, click the magnifying glass icon which will display a full-sized preview of our image:



Now if you right click this image, you should be able to choose "Copy Image URL" or "View Image" from the right-click sajian to acquire the URL for your full size hosted image.


How to use images in your template

The method used to display images in your template depends on how you would like to use them.


To display as an actual image

Images can be used as banners, buttons or simply displayed in the layout as an image gadget.

To display an image in your template's HTML code or within an HTML gadget in your layout, you would use the following syntax:

<img src="URL-OF-YOUR-IMAGE" alt=" If you use a third party template or customize the design of your blog Host Template Images for Free on Picasa" width="WIDTH-IN-PIXELS" height="HEIGHT-IN-PIXELS" />

Specifying "alternative text" within your image tags ensures anyone using a screen reader or browsing with images turned off can still get an idea of what your image displays. Width and height specifications ensure an appropriate space is provided in your layout while loading, which is especially usedul for large images which may take some time to load in your page.


To link to background images

If you intend to use images for styling backgrounds in your template, you will need to add the appropriate CSS to your template.

When using Blogger's new Template Designer, you can add the required code to the "Add CSS" section on the Advanced Settings screen:


If you are using an older Layouts style template, you should add the code just before the closing <b:skin> tag instead.

The code to add depends on:
  • Where you intend to use your background image
  • The placement you require
  • Whether or nor you would like the image to be repeated.
Here's an example of how I would specify a large image as the main body background:

body {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLg95kY794jGHkKZBwGa9fTaeGFZu9-tCqCbww5pYCGMszGK3f3NlmOOEwioVxO7X02KRBcylEgWcDkMit9VzKnIOh-I8S_HAAEdfQ1zcodKDO7_628x305bo3NLsrQ5J1wgj9vDkwJeG9/);
    background-position: top center;
    background-repeat: no-repeat;
}

You can learn more about using background images in your template in this explanatory post.


Is this useful for you?

I hope this post helps you use Picasa as a free, reliable host for images you use in your Blogger template designs. Please let me know your opinions by leaving your comments below.

Komentar

Postingan populer dari blog ini

How To Add A Music Player In Blogspot

Since this archived post was written in 2007, web design and Blogger templates have changed immensely. The development of HTML5 and <audio> tags enable us to add music to our Blogspot websites and posts far more simply, and with improved control. In preparation for explaining how to podcast with Blogger, this tutorial explains how to easily add an HTML5 mp3/audio player to your blog posts or layout. No JavaScript, Flash or plugins are required, and with a fallback for older browsers which don't support the player. I've even created a simple form to generate basic tags for you! Adding music to your Blogspot site has never been so easy! Basic HTML5 Audio Tags Explained The <audio> tag is a new feature of HTML5 which we can use to natively embed audio playback in our sites. It is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari, and can be set to play the linked audio file automatically (autoplay) or loop if required. Here&#

Import Blogs From Another Service To Blogger With The Google Blog Converters Project

A few months back, Blogger announced the ability to import and export Blogger hosted blogs. At the time, it was not possible to import blogs from any other service to Blogger, which left many of us a little disappointed though wondering when this service could be made available. Well it seems there is hope that Blogger can make such a service available through our Blogger dashboards soon enough! Today the the Google Blog Converters project : an open source project which aims to make available the ability to import/export feeds from many different blog platforms: This new Open Source project provides the ability to easily move blog posts and comments from service to service. This initial release provides Python libraries and runnable scripts that convert between the export formats of Blogger, LiveJournal , MovableType , and WordPress . In addition, the source code includes templates for hosting these conversions on Google App Engine . Future additions to the project will includ

Ebooks - Updated Links

As many readers have reported, the links to download my eBooks had become corrupted during my extended hiatus. Today I have uploaded both The Blogger Template Book and The Cheats' Guide to Customizing Blogger templates to Google Documents, a relocation I hope will prove far more reliable than my previous hosting solution! I've updated the download links for these eBooks and hope everyone can now read and download these resources without any problems. It's been a long time since these eBooks were released, so here's a quick overview of both offerings for new readers and those who may have missed the documentation upon their initial releases: The Blogger Template Book Choosing and using a new template for your Blogger powered blog can be quite a daunting task. What is the best method for installation? How can you choose the design and layout most suitable for your blog? The Blogger Template Book is a free complete guide to Blogger templates, from choos