Hi,
I 've do that for download module:
(https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.hiboox.com%2Fvignettes%2F906%2Fuqfkh5d.jpg&hash=de49c24f629548576ee29294663b004c50276df7) (http://www.hiboox.com/image.php?img=uqfkh5d.jpg)
I've edit index.php in modules/download
line 1644 i've replace by:
. "<a href=\"modules.php?name=Downloads&d_op=getit&lid=$lid\">".mxCreateImage("images/download/download.png", _DOWNLOADNOW)."<br>[ <b>" . _DOWNLOADNOW . "</a></b> ]"
Is working but this code is correct with .mxCreateImage ??
Hi Diabolo :)
yes, it seems to be correct ;) :thumbup:
the function mxCreateImage has 5 parameters:
1. the complete path to the local image
2. a String for the alt and title attribute
3. border arround the image 1=yes, 0 =no
4. a string for more image-tag attributes, example 'align="left"'
5. shows the image tag in xhtml-style <img />, 1=yes, 0 =no
full example:
mxCreateImage("images/logo.gif", "alternate Text", 0, 'align="left"', 1);
create the following iamage Tag:
<img src="images/logo.gif" width="249" height="49" alt="alternate Text" title="alternate Text" border="0" align="left" />