Forestshopkeeper Posted September 4, 2010 Posted September 4, 2010 I updated the cc image under the "Payment Method" part of the merchants order information. I checked page source info and it is calling the right image. Is there a max size for this image? I know this has probably been covered in the forum, but my search words are not finding the answer. Thanks Jim
germ Posted September 4, 2010 Posted September 4, 2010 You can "brute force" an image to any size you want in the HTML like this: <img src="images/oscommerce.gif" width="204" height="50"> Just supply the width and height you want. Although doing this will sometimes degrade image quality. It would probably be better to resize it in an image editng program. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Forestshopkeeper Posted September 4, 2010 Author Posted September 4, 2010 You can "brute force" an image to any size you want in the HTML like this: <img src="images/oscommerce.gif" width="204" height="50"> Just supply the width and height you want. Although doing this will sometimes degrade image quality. It would probably be better to resize it in an image editng program. Right now I am not seeing the image at all. Just a broken image icon where it should be. Do I need to resize it down to no larger tan ?? Jim
germ Posted September 4, 2010 Posted September 4, 2010 Check the HTML source to be sure the image path and name are correct. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Forestshopkeeper Posted September 4, 2010 Author Posted September 4, 2010 Check the HTML source to be sure the image path and name are correct. They are. If I use the old image from the same directory it works. Jim
germ Posted September 4, 2010 Posted September 4, 2010 If the path and name are correct and it won't show 2 reasons come to mind: 1. Permissions problems - the file should have 644 permissions 2. It was FTP'd to the server in TEXT or ASCII mode and corrupted the image, needs to be FTP'd in BINARY mode for images. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
germ Posted September 4, 2010 Posted September 4, 2010 Some help on debugging image problems here If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Forestshopkeeper Posted September 5, 2010 Author Posted September 5, 2010 If the path and name are correct and it won't show 2 reasons come to mind: 1. Permissions problems - the file should have 644 permissions 2. It was FTP'd to the server in TEXT or ASCII mode and corrupted the image, needs to be FTP'd in BINARY mode for images. The imag works on the checkout page, but not on the order information page that comes up when you click on details. That is why I was wondering if there is a predetermined max image size for that part of the page. Jim
germ Posted September 5, 2010 Posted September 5, 2010 Normally browsers show images if they can and everything else gets pushed around. We can patty-cake this around all night if you want. If you give me a link (post or PM) I can probably tell you in 5 minutes or less what the problem is. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Forestshopkeeper Posted September 5, 2010 Author Posted September 5, 2010 Normally browsers show images if they can and everything else gets pushed around. We can patty-cake this around all night if you want. If you give me a link (post or PM) I can probably tell you in 5 minutes or less what the problem is. I could give you a link, but the page comes fro my admin panel so it is password protected. I have had product images not show because I loaded an image too large. I don't know if this page is pulling from a differen file or what. Thanks for taking the time to look. Jim
Forestshopkeeper Posted September 5, 2010 Author Posted September 5, 2010 Normally browsers show images if they can and everything else gets pushed around. We can patty-cake this around all night if you want. If you give me a link (post or PM) I can probably tell you in 5 minutes or less what the problem is. After I got back to my computer instead of my phone I was able to see that this image was pulling from the admin folder and I had not uploaded the image to that folder. After I uploaded the image, everything is good. Thanks for your Help Jim
Recommended Posts
Archived
This topic is now archived and is closed to further replies.