Darky10 Posted April 5, 2007 Posted April 5, 2007 Paypal image works in Opera and Firefox, but not the latest IE7. all it shows is a tiny bit of the image. Tried browser settings, but nothing. Anyone come across this problem before? Its in the header if that means anything
kirikintha Posted April 5, 2007 Posted April 5, 2007 How are you generating your image? On your own, or with OSC? in other words, is it css, img tag, or tep_image... Nothing unreal exists
Darky10 Posted April 5, 2007 Author Posted April 5, 2007 How are you generating your image? On your own, or with OSC? in other words, is it css, img tag, or tep_image... With this <table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td align="right"></td></tr> <tr><td align="right"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" border="0" alt=""></a></td></tr></table> <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ In the header, dont know to much. I copied an image, reduced it and tried to use it. the code above is the one that pulls the image from paypal. I want it to pull the same image from my images folder, because i dont need to call it from paypal anymore
user99999999 Posted April 5, 2007 Posted April 5, 2007 Remove the s from https. If you need the image on your ssl page you should download it and put it on your server.
Darky10 Posted April 5, 2007 Author Posted April 5, 2007 Remove the s from https. If you need the image on your ssl page you should download it and put it on your server. I removed the s from http, but thats not the issue. its still the same, wont show, maybe it will work when uploaded, once on the server live i can show the path, tried that on local machine but never worked, I think IE7 is not too good.
Guest Posted April 5, 2007 Posted April 5, 2007 I removed the s from http, but thats not the issue. its still the same, wont show, maybe it will work when uploaded, once on the server live i can show the path, tried that on local machine but never worked, I think IE7 is not too good. before rushing into conclusions, its not a browser issue rather html requirements. You need to specify the width/height dimensions since you need them in this case. for example: <table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td align="right"></td></tr> <tr><td align="right"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" width="100" height="100" border="0" alt=""></a></td></tr></table> otherwise you cannot tell to the browser how to interpret those.
Darky10 Posted April 7, 2007 Author Posted April 7, 2007 before rushing into conclusions, its not a browser issue rather html requirements. You need to specify the width/height dimensions since you need them in this case. for example: <table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td align="right"></td></tr> <tr><td align="right"><img src="https://www.paypal.com/en_GB/i/bnr/horizontal_solution_PP.gif" width="100" height="100" border="0" alt=""></a></td></tr></table> otherwise you cannot tell to the browser how to interpret those. I managed to get this working in firefox/opera, but not IE7. <table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td align="right"></td></tr> <tr><td align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pp.gif' , '') . '</a>'; ?></td> That is the code above, which eliminates the call from paypal. How do i make this show up in IE7. I'll hammer away at it just now and see if i can resolve it. If anyone can show me the way i'll be mighty glad.
Guest Posted April 7, 2007 Posted April 7, 2007 I managed to get this working in firefox/opera, but not IE7. <table border="0" cellpadding="0" cellspacing="0" align="right"><tr><td align="right"></td></tr> <tr><td align="right"><?php echo tep_image(DIR_WS_IMAGES . 'pp.gif' , '') . '</a>'; ?></td> That is the code above, which eliminates the call from paypal. How do i make this show up in IE7. I'll hammer away at it just now and see if i can resolve it. If anyone can show me the way i'll be mighty glad. Do you have other settings with your store that could make the browser lose the image base folder(s)? Create a simple osc php script or html and place just the html code in with the image and test it with the browser. Make sure it works there. And see what happens if you specify the dimensions with the tep_image tep_image(DIR_WS_IMAGES . 'pp.gif' , '', '100','100')
Darky10 Posted April 9, 2007 Author Posted April 9, 2007 Do you have other settings with your store that could make the browser lose the image base folder(s)? Create a simple osc php script or html and place just the html code in with the image and test it with the browser. Make sure it works there. And see what happens if you specify the dimensions with the tep_image tep_image(DIR_WS_IMAGES . 'pp.gif' , '', '100','100') Tried for 2 days to resolve this. It worked with a plain html page in IE7. but still cannot get the above code working in IE7. Works in Opera & firefox.See code: <div align="right"><img src="images/pp.GIF" width="330" height="59" /></div> that works, but leaves large gap several inches wide I wanted to place it basically where the account icons used to be etc. I am putting the code in the header, before the php code, right at the top, far right. When i used the code from the basic html page it worked but centred it and made a huge gap in the header. It stick right to the top of the page several inches away from the header bar. I want the header gap to be roughly the same as the size of paypal image. I don't care how it works as long as it does. I would rather have the pp image up there as i have nothing else to place there so a solution would be appreciated. I dont think it need to be written in php as plain html should do the same job. The earlier code was code i hashed together to get it working. Probably right to say that most folks will use IE, of some description.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.