-
July 23rd, 2022, 03:12 #1
- Join Date
- Aug 2019
- Location
- Australia
- Posts
- 31
Bitmap images in reference manual are showing broken image
FGU: 4.2.2
Images in blocks in the reference manual have suddenly stopped working for me.
Screen Shot 2022-07-23 at 12.03.43 pm.png
The clipped code (which has otherwise been working for a long time), is:
Code:<?xml version="1.0" encoding="ISO-8859-1"?> <root version="4.2" release="22.07.00"> ... <reference static="true"> ... <pages> <page0000> <name type="string">Front Cover</name> <blocks> <block1> <blocktype type="string">image</blocktype> <align type="string">center</align> <size type="string">535,692</size> <image type="image"> <bitmap>images/cover.jpg</bitmap> </image> </block1> </blocks> </page0000> ...
Thanks in advance.
-
July 23rd, 2022, 18:06 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
There is nothing that has changed that affects this.
It looks like the "code clip" that you posted is from a module; so please ensure that the images/cover.jpg exists within the module export file.
Otherwise, you'll need to post in order for us to look at it.
Regards,
JPG
-
August 3rd, 2022, 09:11 #3
- Join Date
- Aug 2019
- Location
- Australia
- Posts
- 31
-
August 14th, 2022, 05:44 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
It looks like you are trying to load the reference manual data manually in XML (or using external tools), as shown by the fact that your module is specifying the latest data format in the root attributes but using an old data format in the "image" node. The data format you're using corresponds with root version="3.1", not "4.2"
You should use the Module Builder available via the button in the Modules window to create any new reference manuals to avoid issues like this in the future.
Regards,
JPG
-
August 14th, 2022, 23:07 #5
- Join Date
- Aug 2019
- Location
- Australia
- Posts
- 31
-
August 14th, 2022, 23:50 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
The module builder already handles all of that.
The issue with your module was the actual application version. (Ie you’re using FGC image data, but specified an FGU module data version.)
Regards,
JPG
-
August 15th, 2022, 11:26 #7
- Join Date
- Aug 2019
- Location
- Australia
- Posts
- 31
Thanks and got it. Root problem was my omission of the`<layers>` tags around the `<bitmap>` (had it right in other places, just couldn't see the forest for the trees).
The Module Builder still can't handle Book style frames yet can it? `<frame type="string">book</frame>`
-
August 15th, 2022, 12:36 #8
Yes, it can apply any of the frame styles to either a page or to a sidebar.
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
August 15th, 2022, 14:16 #9
It sure can. This is the recommended way to build all refmans now.
If you are also creating Story Entries then Author can help speed up copying en masse from Story to Reference Builder.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks