Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Images getting streched to biggest image dimesions
 
Fooligan
Jr. Member
 
Avatar
Total Posts:  15
Joined:  2009-02-16
 

I use the following code to show a 3 row table with our 3 payment options. I got the codes for the separate buttons from the providers websites.
My problem is that 2 of the images get streched to the size of the biggest one. If I edit this file in Dreamweaver or create a static block all images stay in their right dimensions. As soon as I put this code in the phtml file I call to show the images they get streched.
I use this phtml file since I fail to implement a static block in the right colum so I used the right colum callout file for this.

What am I missing. (appart from a lot of Magento knowledge)

<div class="banner-right box"><table width="240" border="0">
  <
tr align="center" valign="middle">
    <
td width="234"><a href="#" onclick="[removed]window.open('https://www.paypal.com/nl/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img  src="https://www.paypal.com/nl_NL/NL/i/bnr/bnr_nowAccepting_150x60.gif" width="150" height="60" border="0" align="absmiddle" dir="ltr" /></a></td>
  </
tr>
  <
tr align="center" valign="middle">
    <
td><a href="http://www.multisafepay.com" target="_blank"><img src="http://www.multisafepay.com/download/betaalbutton/multisafepay_icoon2.png" alt="multisafepay iDEAL"  width="193" height="68" border="0" align="absmiddle" title="Multisafepay internetkassa" /></a></td>
  </
tr>
  <
tr align="center" valign="middle">
    <
td><a href="http://ideal.nl/consument/incoming/?o=234.100" target="_blank"><img src="http://ideal.nl/img/234x100.gif" width="234" height="100" border="0" align="absmiddle" /></a></td>
  </
tr>
  <
tr>
    <
td><!-- PayPal Logo --></td></tr></table>

<!-- 
PayPal Logo -->&nbsp;</td>
  </
tr>
  <
tr>
</
div>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top