I am developing a plugin with an image inside. And I am using the following function in my php file:
Code: Select all
JHTML::_('image.site', 'icoon.png',NULL,NULL,NULL,'share','width="64" height="18" border="0"');
Now for my question: How do I tell my plugin's XML installation file to put the image inside /images/M_images (the fallback folder)?
I have looked for 2 hours and didn't found any answer for this.
I tried these, but that doesn't work either:
- adding a folder named "images" (with icoon.png inside) to the zip package without specifiying it in the xml installation file
- adding in according folder wíth the following explicit xml installation file tags:
Code: Select all
<files> <filename>images/icoon.png</filename> </files>
Code: Select all
<files> <folder>images</folder> </files>
- This one with or without the images/ folder.
Code: Select all
<files> <images>[images/]icoon.png</images> </files>
(I will make/complete a wiki doc from this thread BTW)