When I need to create thumbnail images for my web sites I normally turn to Snagit. While Snagit is NOT a graphics program like PhotoShop or PaintShop, it works just fine for my purposes. Recently I was helping someone who was new to Expression Web develop a photo gallery. She had been using the auto thumbnail feature in FrontPage and then Expression Web and wanted to continue doing so.
I created a photo template for her to use for the various galleries first.
Make sure that you are using a complete doctype declaration on your page. Those inserted using code snippets are NOT complete.
body img { border: 0px; text-decoration: none;}
<a href="images/barnett-loni-jones-kids.jpg"><img alt="Picture
of Barnett and Lonie Jones and children." src="images/barnett-loni-jones-kids_small.jpg"
width="200" height="276" ><!-- MSComment="autothumbnail"
xthumbnail-orig-image="file:///C:/Users/Patricia Geary/Documents/My Web Sites/test-auto-thumbnail/images/barnett-loni-jones-kids.jpg"
--></a>
Using the auto thumbnail feature is NOT the best way to optimize your images for use on the web. Instead use your favorite graphics editor. If you don't have one installed on your computer there are free ones available such as Irfanview and paint.net.
NOTE: If you use the HTML Strict doctype shown below, your page will NOT validate with the code used by the auto thumbnail feature.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Optimizing the code will NOT remove the offending code.
If you change your doctype declaration to an XHTML Strict doctype, the page will validate and optimizing the code will remove the thumbnail statement
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
Copyright November 2009
Expression Web Tutorials & Templates All Rights Reserved
Expression Web 4.0 Tutorials 2nd Edition from Install to Publish, a FREE EBook by Pat Geary.
Expression Web has a group on Facebook. If you are a FB user, come join us.
Disclosure: This is an affiliate link, which means that if you visit Bluehost.com through this link and purchase this product, I’ll get a commission.
April 2007 - April 2013
Privacy Policy | Migrating from FrontPage to Expression Web
Microsoft® and Expression Web® are registered trademarks of Microsoft® Corporation.
Site Design & Maintenance : Expression Web Tutorials & Templates