DICE PACKS BUNDLE
Page 2 of 2 First 12

Thread: embed image

  1. #11
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    Quote Originally Posted by flekhabren View Post
    I'm guessing that I need to repeat this process with each image I want to use? Is there somewhere that image.id-00006 is defined as a file name/location?
    Yep, you'll have to do it for each image.

    The image reference will need to be stored in the module XML (not the campaign, otherwise your module will be tied to one campaign only). From your story/image link test above, export Story and Images into a module and see how the XML stores the image data and how the link references the module name using the @ sign.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  2. #12
    Quote Originally Posted by Trenloe View Post
    Yep, you'll have to do it for each image.

    The image reference will need to be stored in the module XML (not the campaign, otherwise your module will be tied to one campaign only). From your story/image link test above, export Story and Images into a module and see how the XML stores the image data and how the link references the module name using the @ sign.
    I haven't done an export before. Is there steps for this somewhere?

  3. #13
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #14

  5. #15
    perhaps I'm missing it. How do I complete the export?

    Attachment 19782

  6. #16
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    Fantasy Grounds Golden rule #1 - right-click for context sensitive menus.

    https://www.fantasygrounds.com/wiki/...#Context_Menus
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  7. #17
    Quote Originally Posted by Trenloe View Post
    Fantasy Grounds Golden rule #1 - right-click for context sensitive menus.

    https://www.fantasygrounds.com/wiki/...#Context_Menus
    sorry, I should have though about that, thanks

  8. #18
    ok, the export created a db.xml. Within that there was a section <image> with a link between the image and the id number. It looks like it just put the images in the root of the module. So if I add the code of the <link> to the <reference> entrys and also add the <image> section to my common.xml, maybe between the <library> and <reference> sections should get it to work right?

    Oh and copy the images to my existing module root.

  9. #19
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,361
    Quote Originally Posted by flekhabren View Post
    ok, the export created a db.xml. Within that there was a section <image> with a link between the image and the id number. It looks like it just put the images in the root of the module. So if I add the code of the <link> to the <reference> entrys and also add the <image> section to my common.xml, maybe between the <library> and <reference> sections should get it to work right?

    Oh and copy the images to my existing module root.
    Sounds about right.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
FG Spreadshirt Swag

Log in

Log in