PF2E Playlist
  1. #1

    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>
    ...
    Any thoughts on what is going wrong / have I missed some release notes affecting this?

    Thanks in advance.

  2. #2
    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

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    Otherwise, you'll need to post in order for us to look at it.
    I've extracted the guts of it and I'm still getting the same broken image thing happening. Let me know if you need any more information.

    Running v4.2.2 on Mac.
    Attached Files Attached Files
    Last edited by eldarune; August 3rd, 2022 at 09:16.

  4. #4
    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

  5. #5
    Quote Originally Posted by Moon Wizard View Post
    The data format you're using corresponds with root version="3.1", not "4.2"
    Thanks. Have you documented the new format (like there was in the old wiki) or is the "Module Builder" essentially the documentation now?

  6. #6
    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

  7. #7
    Quote Originally Posted by Moon Wizard View Post
    (Ie you’re using FGC image data, but specified an FGU module data version.)
    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>`

  8. #8
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    18,788
    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 http://fgapp.idea.informer.com/

  9. #9
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    25,310
    Blog Entries
    1
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DMsGuild

Log in

Log in