Hello,

Maybe you could split the original image into icons using ImageMagick (http://www.imagemagick.org/script/command-line-options.php#crop). Then it's rather easy to create a gallery by importing these new icons and finally package the gallery as an extension.

Best regards

Le 07/05/2014 14:15, Hung Mark a écrit :
Hi Bernard,

Thank you for kindly reply. The image container is for icon. There are
roughly 100 icons in it. Though I can split it into separate images, I
still wonder if it is possible to use the original way .

2014-05-05 18:44 GMT+08:00 Bernard Marcelly <marce...@club-internet.fr>:
Message de Hung Mark  date 2014-05-04 19:05 :

Hi

I'm packaging an old extension,which is installed by extracting
archive to overwrite user data.
Its icon is defined by image file and an lc_imagelist.xml.
It seems that there isn't such a file type for META-INF/manifest.xml.

Is there anyway to install the image container with extension, or just
impossible?

Hi,
This seems to be a hack.
What is the use of the images ?

If you want to add a new gallery of images, then look at any of the
extensions doing this.
If you want to have some icons for the buttons of your extension, this is
done but putting the images in the oxt file (or a sub-folder of it) and
referencing it from the Addons.xcu file.
If you want to use images from the code of your extension, simply put the
images in the oxt file. By code you can get the location of the installed
extension.

Regards
   Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to