Also, why don't you use the "height" and "width" attributes in the <img> tag to create your thumbnail images? For example, the original image is 400x600, you could put a thumbnail using just the attributes, i.e. <img height="40" width="60" src="img.gif">.
ARRRGGGHHHH. The world would be a better place if people would STOP DOING THIS. The point of a thumbnail is to give you a preview of the image before you download the whole thing. By doing your thumbnails in this manner, you force the browser to download the entire 400x600 image, and then display it as a tiny representation of itself. You didn't save anything, you might as well have just shown it full size. It may work great for you when you view the page from your hard drive while you develop it, but it's a huge waste of time and bandwidth to do this over the net.
We're not surrounded, we're in a target-rich environment! |
---|
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|