Page 1 of 1

Payments Methods Image Display

Posted: Sun Feb 04, 2024 9:38 pm
by tessthepup
Hi Guys,

I have changed the line in a language file to show an image of payment methods instead of the name which works fine when selecting a payment method but when on the payment page the image is to big for the box it displays in (see attached screenshot)

The code from the language file is

Code: Select all

$pfx . 'PUBLIC_TITLE' => '<img border=0 src=/images/credit_cards.png align=absmiddle>',
Just wondering if anyone knows a better method so that the image displays correctly under the payment heading.

The page is a combination of 2 Page Checkout by Raiwa and the new Stripe module from BrockleyJohn

The question is more an image display question than a specific addon question hence why posted.

Thanks

Mark

Re: Payments Methods Image Display

Posted: Mon Feb 05, 2024 10:12 pm
by burt
The simplest option would be to change the dimensions of that image.
Make it square maybe, with two rows of CC logos.

Re: Payments Methods Image Display

Posted: Tue Feb 06, 2024 6:42 pm
by tessthepup
burt wrote: Mon Feb 05, 2024 10:12 pm The simplest option would be to change the dimensions of that image.
Make it square maybe, with two rows of CC logos.
@burt
Yeah I have had to do that just to get the job off the list :lol: