First, you may want to move this post to a location more relevant on the forums, as this so far has nothing to do with PHP Code.
Second, just changing the dimensions of an image is the wrong way to make thumbnails as then you are depending on teh way the browser resizes it, which on some pictures can be nasty looking and then also the fact that no matter what size you display an image as, the end user will still have to download the full image size. So say you have 10 thumbnails, and they are all 150k files. That is 1.5megs the user has to download, when a decent sized thumbnail could be 1/10th the file size.
If you are going to stick with just changing the image size, you will probably have better luck doing CSS :
Code: Select all
<img src="file.jpg" alt="Descriptive Alt Value for Accessibility" width="30" onmouseover="this.style.width=75px;" onmouseout="this.style.width=30px;" />
You'd have to double check the above, i'm just giving it off the top of my head and I don't do it often enough to say it is 100% correct.
-Greg