Guest Posted July 21, 2005 Share Posted July 21, 2005 I am transferring a customer site from one server to another, and I've run into an interesting problem. Both with stock osC code, and with the "moved" code, the images are not resized properly. Suppose I set the small image height to 100, but leave height blank. I refresh index.php, view source, and see neither height nor width values on the images. I then go back to admin, set the height and width to 100. Refresh index.php. Height and width are now both there. Back to admin. Erase value for height, so only width remains (and no, I'm not setting them to zero). Refresh index.php, neither width nore height parameters show up. Ideas? -jared Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2005 Share Posted July 22, 2005 This is very odd. If I enter values for both fields in osC Admin, I get <width = xxx><height = xxx> in the rendered page. If I put just one of them in, neither <width = xxx> nor <height = xxx> show up. The problem is that the images are not square (imagine that). If we resize them to be square then they're distorted. Has anyone seen this before? -jared Link to comment Share on other sites More sharing options...
Wendy James Posted July 22, 2005 Share Posted July 22, 2005 I have never seen that before but there is a contribution that helps people who have odd size images, maybe it would do the trick? http://www.oscommerce.com/community/contributions,3279 Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2005 Share Posted July 23, 2005 No luck with that contrib. I did find a fairly decent workaround, though. Even though the admin field says to enter pixel values, I entered 75% for the height and width and it seems to work. I'll play around with the exact percentages a bit until it looks right, but that seemed to do the trick. Thanks for the suggestion, Wendy! -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.