Instead of trying to call the images from the buildfile as if though it were a web page, you can write a .php script that will generate the _proper_ XML that would go into the build file.
So, for example, if you have several pieces in a slot that look like: <VASSAL.build.widget.PieceSlot entryName="53 / 71" height="77" width="73">+/null/emb2;;2;;Flip;2;F;;0;;;;1;false;0;0;14-Br-53-71.gif,14-Br-53-71-back.gif;53 \/ 71,53 \/ 71 reduced;true;British;; prototype;Allies\ piece;;;;53 \/ 71/1; \ null;268;163</VASSAL.build.widget.PieceSlot> Where the only thing that changes from piece to piece is the piece name and the image name, you could write a .php script that would *out to the screen* the values of your pieces so that you could then copy that text and paste it into your buildfile. Just run an incrementing loop to do your numbering and/or lettering. The hardest part is making sure that you copy and paste into the buildfile in the proper place and that the XML is valid or else your module won't load. So, always make a backup of the buildfile (text file) before doing any major editing. I hope that all makes sense, I'm sure that someone with more experience doing this can elaborate a bit more if needed. GJK At 09:09 AM 11/23/2006, you wrote: >To create my module , primary used a web date base,piece had a >properties sheet trait. > >LIgne 1 : <html><img scr="http.............piece.jpg"> >Ligne 2 : first caracteristics here : mouvement >... Speed >.... etc.... > > >There is over than 900 pieces, and i failed to create a routine to >insert data in the built file . So it was a manually thing . > > >So, i decide to use the php web page to generate a >piece+caracteristics.png !! > >I have 937 png files ( 24 Ko each), i would like to link piece ti >their piece+caracteristics.png but the html tag doesn't work ! > >pngs are in the zip files. >text label fills this way : <html><img scr="pieces.jpg"> >I tried with jpg gif png. > > >Peharps there is no way to do this ! > >Q: I would like to have a Command menu call Properties who show the >image piece . any idea ?
