Haven't registered yet? Do it here now!
|
rjhoward
Joined: 07 Mar 2008 Posts: 42 Location: Yucca Valley, CA
|
|
|
|
|
|
|
Posted: Sun Sep 06, 2009 1:31 am Post subject: How to deal with too small images |
|
|
|
|
|
|
|
|
|
|
Hello. I am dealing with galleries from a variety of vendors. 90% of the time, the 200x150 image size specified in my feed is perfect; the script crops them down to size and they look great.
However a few vendors slip in some oddball images of 160x120 and even 179x104. My initial reaction was to make the feed image size 160x104. This would accommodate everyone, but I feel that's too small. Plus, when you crop that much, you never know if you're going to end up with an image that looks like anything recognizable.
I know there are ways in the script to crop and reduce images. Is there any way to ENLARGE an image that's too small? Or skip over images that smaller than a certain size?
TIA for your help. |
|
|
|
|
|
|
|
rjhoward
Joined: 07 Mar 2008 Posts: 42 Location: Yucca Valley, CA
|
|
|
|
|
|
|
Posted: Sun Sep 06, 2009 2:48 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Never mind; I figured it out. Just put height and width specification on the img tag. Yes it may change the aspect ratio, but still looks better than pics of all different sizes on the page. |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|