-
February 27th, 2022, 23:21 #1
- Join Date
- Mar 2020
- Posts
- 4
Moving Campaign to new directory broke image links
I had a single campaign that was getting too big to be single so I broke it up into separate campaign modules with a base campaign and additional location modules that get loaded as needed. When I did this the image links got broken. The images for each module are still under the images directory for the module but not of the base module. I suspect that moving the image files out of the "base" campaign module and into its separate module images folder is what broke it since the "base" campaign doesn't know where to find the file. Is there some way to just point the image record in Images to the correct location?
The campaign was just a normal campaign with the images folder under it:
campaigns\<BaseCampaign>\images
Now they are split:
campaigns\<BaseCampaign>\images
campaigns\<Location1Module>\images
campaigns\<Location2Module>\images
etc
-
February 27th, 2022, 23:44 #2
Welcome to the FG forums!
What image links are we looking at here? If you have an old link in a story entry or similar, then that link is pointing to the old campaign based image and will be broken - you'll need to recreate that link by dragging the new link from the campaign "Images" data list over the old broken link icon.
If this isn't what you're referring to please provide some screenshots of where you're having the problem.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!
-
February 28th, 2022, 02:01 #3
- Join Date
- Mar 2020
- Posts
- 4
Yeah, I wish it were that easy. It is the actual link in Images to the file.
Images Issue.png
-
February 28th, 2022, 02:08 #4Private 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!
-
February 28th, 2022, 02:41 #5
- Join Date
- Mar 2020
- Posts
- 4
Here is the db.xml file.
Last edited by rivenbarkc; March 1st, 2022 at 10:23.
-
February 28th, 2022, 03:19 #6
Here's an example of a portion of the FG XML in one of the images in the map screenshot you posted earlier:
Code:<id-00030> <image type="image"> <color>#66FFFFFF</color> <layers> <layer> <name>Port Landis Map (PC).jpg</name> <id>0</id> <parentid>-21</parentid> <type>image</type> <bitmap>images/Port Landis Map (PC).jpg@The Ring of Fate</bitmap> </layer> ... ...
It is these references that you'll need to check and update to be the correct image filenames within the relevant module/s.
Be sure to make a copy of the campaign directory - and only edit the XML in the copy, so that you have a backup in case things go awry.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!
-
March 1st, 2022, 21:12 #7
- Join Date
- Mar 2020
- Posts
- 4
I assume that the <bitmap> tag in the excerpt you provided means that it is looking for the file "Fantasy Grounds/campaigns/The Ring of Fate/images/Port Landis Map (PC).jpg"
So let's say that I renamed the Campaign (and folder) to "[TRoF] Port Landis". I should then just change the @ part to "[TRoF] Port Landis" and it should work, correct?Last edited by rivenbarkc; March 3rd, 2022 at 23:22.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks