Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.
Image-related information can be provided for by using the "alt" attribute :
Images may seem like a straightforward component of your site, but you can optimize your use of them. All images can have a distinct filename and "alt" attribute, both of which you should take advantage of. The "alt" attribute allows you to specify alternative text for the image if it cannot be displayed for some reason .
Our image wasn't displayed to the user for some reason, but at least the alt text was. |
Store files in specialized directories and manage them using common file formats :
It is easier to find the paths to images if they are stored in one directory. |
Use commonly supported filetypes - Most browsers support JPEG, GIF, PNG, and BMP image formats. It's also a good idea to have the extension of your filename match with the filetype.
Use brief, but descriptive filenames and alt text :
Like many of the other parts of the page targeted for optimization, filenames and alt text (for ASCII languages) are best when they're short, but descriptive.
- Using generic filenames like "image1.jpg", "pic.gif", "1.jpg" when possible—some sites with thousands of images might consider automating the naming of images
- Writing extremely lengthy filenames
- Stuffing keywords into alt text or copying and pasting entire sentences
Supply alt text when using images as links :
If you do decide to use an image as a link, filling out its alt text helps Google understand more about the page you're linking to. Imagine that you're writing anchor text for a text link.
- Writing excessively long alt text that would be considered spammy
- Using only image links for your site's navigation
Supply an Image Sitemap file :
An Image Sitemap file can provide Googlebot with more information about the images found on your site. Its structure is similar to the XML Sitemap file for your web pages.
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.