There are several possibilities to do that.
1. It can be done also when You make a new object with includes all the needed pictures for Your UI before starting to script. You simply add the pictures to Your normal Archicad-groundfloor - in a row with the exact pixelmeasures needet later in Your element. You activate them and then You save the activated into a new librarypart. If You program then the UI - the pictures are there assignable with a growing id-number frromleft to right.
But its difficult to know what You will need later. But if You make a new GDL-Element in this way - containing all the pictures, You can copypaste the scripts from another element into it. The real task is - to make all the parameters in the parameterlist once more in the new one.
2. convert Your extra saved GDL-Element with the LP_XMLConverter tool into xml, edit it with an XML-Editor like "sublime" (
http://www.sublimetext.com)%20(Joachim%20Sühlo(Suehlo)%20has%20an%20addon%20for%20GDL%20http://
www.b-prisma.de/object-shop/product_info.php?products_id=99) - add the links to the picture-directory manually. Here it is possible do make additional parameters for GDL.
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia