Hi all,
I have a gallery type page that when you mouse over the bottom thumbnail image, the larger version image will show up above the thumbnails. I have set the larger version of the images to be 200px in width, what I intended to do is to have any images whose width is greater then 200px to be resize to be 200px. While those whose width is less then 200px to stay intact. So I am wondering, how can I retrieve the width or a particular image so that I can put the width dimension into an if then statement? Please advise, many thanks!
I have a gallery type page that when you mouse over the bottom thumbnail image, the larger version image will show up above the thumbnails. I have set the larger version of the images to be 200px in width, what I intended to do is to have any images whose width is greater then 200px to be resize to be 200px. While those whose width is less then 200px to stay intact. So I am wondering, how can I retrieve the width or a particular image so that I can put the width dimension into an if then statement? Please advise, many thanks!