schoolboy:
A simple (but hacky) way of doing this is to put an <img src> tag into the DEFINE statement.
Use Developer Toolkit to find the LANGUAGE DEFINE for - iDeal Checkout - Mister Cash .
It will probably be in the includes/languages/english/modules/payment/... (this payment module) file.
and be written like:
define('MODULE_PAYMENT_IDEAL_TEXT_TITLE', 'iDeal Checkout - Mister Cash');
>
> You could do this - and it's better to host the icon image on your server...
>
> ```php
define('MODULE_PAYMENT_IDEAL_TEXT_TITLE', '<img-src="images/icons/ideal.jpg" title="iDeal Checkout" alt="iDeal Checkout" width="10" height ="10" /> iDeal Checkout - Mister Cash');
Of course, you will need to adjust all the path references and other ALT ad SIZE parameters - just apply the rules of HTML.
Shop Suey:
I will try to change it !
It has been set till now at /includes/languages/german/modules/payment/eustandardtransfer.php
->
define('MODULE_PAYMENT_EUTRANSFER_TEXT_TITLE', '<img src="/images/vorkasse.png"> Vorkasse / Banküberweisung</a>');
> **Shop Suey:**
>
> There must be something wrong with my configuration.
> Unfortunately the icon isn't being loaded.
Not sure if it is specifically the cause, but there are a few basic html errors in the new/modified language define.
There's no close for the img tag (necessary for XHTML stylw documents) and the img tag only has a src parameter (required to have at least src and alt). The parameters that schoolboy suggested are important/generally expected by browsers and are an improvement, but not necessarily the solution.
The other thing it appears to be is the actual placement of the image on the server in the location where it is sought. When you view the source code for the page, you should at the top of the page see a base tag with a path to your store's site: ```
<base href="https://mysite.com/myfolder/">
``` where myfolder is a subdirectory or subdirectories for your store. If you have installed your ZC store to be your only customer interface and don't have your store in some sub-directory then you would not see the part of myfolder/ and the above path would end with a slash.
Now, the other part though, is that your img tag src should provide information relative to that base path, by it beginning with a slash ("/images/whatever.jpg") it is as if trying to pull the picture from: ```
https://mysite.com/myfolder//images/whatever.jpg
``` notice the double slash in the middle? That is an incorrect path and can cause problems displaying the image.
Of course then having the image at the described location also helps greatly if it is not there yet.