[ Help | Earliest Comments | Latest Comments ][ List All Subjects of Discussion | Create New Subject of Discussion ][ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]Latest Ratings and CommentsLater ⇩Reverse Order⇧ Earlier⇩ Earliest⇧ ChessV. Missing description[All Comments] [Add Comment or Rating]Aurelian Florea wrote on 2021-04-22 UTCI just wanted to ask, because it would be very difficult, if this version implements all the endgame conditions for apothecary. I doubt it because the AI is hard to reprogram for this. Have you given them any thoughts though? Interactive diagrams. Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]Aurelian Florea wrote on 2021-04-22 UTCYes Greg. Now it works! Greg Strong wrote on 2021-04-22 UTCput a forward slash at the beginning of your url Aurelian Florea wrote on 2021-04-22 UTCOk, for some reason when trying this: graphics.dir/alfaeriemisc/compounds/%zebrawazir it results in this: https://www.chessvariants.com/rules/graphics.dir/alfaeriemisc/compounds/bzebrawazir.gif H. G. Muller wrote on 2021-04-22 UTCOK, my bad. I was wrong about adding the file exension; this was already done at an earlier stage, before replacing the % by a color prefix. This means you should NOT specify an extension in the 'custom image', and that it then will always use the same extension as the regular images. That means you cannot use the cobra from the se in the Elven-Chess directory with alfaerie (because it is png, and alfaerie is gif). But you should not have problems using an alfaerie image from another directory. When you do not put the .gif in the custom name. BTW, if it doesn't work, you can open the piece legend of the diagram, and right-click the 'missing image' symbol in it, and select 'View Image' from the context menu. This will give a 404 error, but in the adress bar of your browser you should then be able to see what the filename was that it finally made from the parameters you supplied. Which often tells you what went wrong. Aurelian Florea wrote on 2021-04-22 UTCI still could not make work. I cannot add the wazirzebra here: https://www.chessvariants.com/invention/grand-apothecary-chess-alert from here: bzebrawazir.gif (49×49) (chessvariants.com) Aurelian Florea wrote on 2021-04-22 UTCThanks HG! catugo wrote on 2021-04-22 UTCOk HG, I'll get to work. Thanks! H. G. Muller wrote on 2021-04-22 UTCOh, I see that the Diagram already supports a way to include 'custom graphics' for the pieces. I had forgotten all about that. To include an image that doesn't use the specified graphicsDir or graphicsType, just write the full URL of the image, but with the color prefix replaced by a % sign. The script will replace that % sign by the whitePrefix or blackPrefix, as needed. So you are still limited to image names that use the same color prefixes. E.g. if you specify as image name in the piece definition: /membergraphics/MSelven-chess/%cobra.png you could use the cobra image there, no matter what graphics you specified for the other pieces. Note you should also explicitly mention the file exension. Great Shatranj . Shatranj style game on 10x8 board.[All Comments] [Add Comment or Rating]Joe Joyce wrote on 2021-04-22 UTCThank you, Christine, for all the work you've done on these games. Interactive diagrams. Diagrams that interactively show piece moves.[All Comments] [Add Comment or Rating]Aurelian Florea wrote on 2021-04-22 UTCGreg, Can you help me by drawing a ferz-alfil-trebuchet? I tried using my own tools but it goes kind of bad. Aurelian Florea wrote on 2021-04-21 UTCHonestly HG, I'd prefer that you manage to do the relative path. It would be very helpful! Aurelian Florea wrote on 2021-04-21 UTCThanks for the input, HG! H. G. Muller wrote on 2021-04-21 UTCIf you create an article, this automatically creates a directory /membergraphics/MSarticle-name/ for any files you upload. So you could upload all the images you want to use to such a directory, and specify that as graphicsDir in the Interacive Diagram definition. You have to make sure the squareSize, graphicsType and white/blackPrefix match that of the uploaded graphics. You cannot use sets that are scattered over several directories. Because the diagram builds the image filenames as prefix + root name + exetension (where the exension is the specified graphicsType). So giving the root name as a pahname, like subdir/quagga, would no work, because it will prefix the directory name with the color ('wsubdir/quagga.gif') rather than the image name ('subdir/wquagga.gif'). This should be easy to fix, btw; I could make the diagram split any given roo name at the slashes, prefix the last part with the color, and then put them together again. Aurelian Florea wrote on 2021-04-21 UTCHow do I create a directory? Also, How do I upload images? Aurelian Florea wrote on 2021-04-21 UTCAll right, Thanks Fergus, I'll try it. Fergus Duniho wrote on 2021-04-21 UTCIt's easier for an editor, but you can download images to your computer and use the file manager to upload them to a directory. Aurelian Florea wrote on 2021-04-21 UTCI assumed this cannot be done by a non editor. Fergus Duniho wrote on 2021-04-21 UTCWhen I used alfaerie pieces for an interactive diagram, I put all the images I needed in the directory for the game. Greg Strong wrote on 2021-04-21 UTCI'm not sure. It may not be possible to use images that are not all in the same directory. If it can be done, H.G. would have to tell us, but I haven't seen him around here lately. I hope he's OK! Aurelian Florea wrote on 2021-04-21 UTCI am not sure on how to put the file directory for a child directory. For example if I set graphicsDir to ../graphics.dir/alfaeriemisc/ then I need acces to it's subdirectories to acces the zebrawazir. How can I do it? Aurelian Florea wrote on 2021-04-21 UTCI probably can do it if I change to directory from default to: graphics.dir/alfaeriemisc/ Aurelian Florea wrote on 2021-04-21 UTCIt still does not work. Try for example : zebrawazir Aurelian Florea wrote on 2021-04-21 UTCGot it. Greg Strong wrote on 2021-04-21 UTCUse the images that ere there while you are designing. Then, edit the generated code to use different images. 25 comments displayedLater ⇩Reverse Order⇧ Earlier⇩ Earliest⇧Permalink to the exact comments currently displayed.