PDA

View Full Version : Image Missing from Custom Images



DnDExplorers
January 25th, 2021, 22:33
I took a break from playing D&D on FGU for about 2 months starting back up again. I noticed all my custom created images and maps have a giant red X. I double checked the location and it is still right where i put them. Any assistance on how to get these images back, would be wonderful. Thanks
43228

Zacchaeus
January 25th, 2021, 23:12
Did you create the images in FGU? If not where did you create them? Are the .jpg or .png files? Where exactly are the images, campaign/images or FGdata/images folder? Do the images have non alpha numeric characters in them? Do they have any double spaces?

Moon Wizard
January 25th, 2021, 23:17
If you moved or renamed any files in the FG data folder images subfolder, or the campaign images subfolder; then any references to those images will be broken in the data.

Regards,
JPG

DnDExplorers
January 26th, 2021, 00:20
If you moved or renamed any files in the FG data folder images subfolder, or the campaign images subfolder; then any references to those images will be broken in the data.

Regards,
JPG

The images were placed in the Assets folder under Campaign/Maps (I created the Maps folder). I did not move them nor rename them, and I can still see them in the windows folder as well in the assets > campaign > maps and i can click them open. However when I open the Images|Maps icon and go to the Uncategorized location and click on the map that I created I see the red X like in the included image above even though I see the image reference in the map. These images are .jpg files.

I included a another screen shot that shows all the pieces, hopefully it makes more sense. 43229

Moon Wizard
January 26th, 2021, 00:27
If you zip up the campaign, we can look at the data (post via DropBox link here or via PM; if PM, please reference thread). My guess is still that it got moved, but we can look at the campaign data to be sure.

Regards,
JPG

DnDExplorers
January 26th, 2021, 00:38
If you zip up the campaign, we can look at the data (post via DropBox link here or via PM; if PM, please reference thread). My guess is still that it got moved, but we can look at the campaign data to be sure.

Regards,
JPG

Moon I sent you a PM with a GDrive link to my zipped campaign folder. Thanks for the help.

DnDExplorers
January 26th, 2021, 17:06
Any updates on this issue?

Trenloe
January 26th, 2021, 19:27
I included a another screen shot that shows all the pieces, hopefully it makes more sense. 43229
Drag the image from the asset window and drop it on the open image window. It'll add another layer with that image. Delete the layer that doesn't have the image. Re-size/position the new image, assuming it is showing properly, to match your tokens etc..

Moon Wizard
January 27th, 2021, 00:37
I just looked at the data file that you sent over. It looks like the file was originally located at "<CampaignFolder>\images\Saltmarsh_Orc_Camp.jpg" when the image was created (which is what is saved for the image layer in the campaign database). In the campaign files you sent over, there are no files in the root "<CampaignFolder>\images\" folder, and they are all organized in subfolders. My guess is that you re-organized your files at some point after you created the map.

You can either do what Trenloe suggests to clean up in the UI; OR you can move the file back to where it was when the image record was created; OR you can manually edit the db.xml file. If you decide to manually edit the db.xml file, please make a backup first; as any XML errors will cause a load error and the data won't get saved back to disk since it never loaded. (campaign/images/Saltmarsh_Orc_Camp.jpg -> campaign/images/Maps/Saltmarsh_Orc_Camp.jpg)

Regards,
JPG

DnDExplorers
January 27th, 2021, 22:24
Ok Thanks i will move that image to images folder just to confirm that it removed it. I thought i created maps prior to making those. The main reason for the move was it seems the images folder has a limit to the number images as well as the tokens has a limit like 50 or so.

DnDExplorers
January 27th, 2021, 22:29
Ok Thanks i will move that image to images folder just to confirm that it removed it. I thought i created maps prior to making those. The main reason for the move was it seems the images folder has a limit to the number images as well as the tokens has a limit like 50 or so.

So sorry to have wasted your time I thought the image was under Maps. Confirmed I moved the image and it worked. I thought an update had done something. Thanks for all your help.

Moon Wizard
January 27th, 2021, 22:49
No worries. Glad you are working again.

Regards,
JPG

Trenloe
January 27th, 2021, 23:02
The main reason for the move was it seems the images folder has a limit to the number images as well as the tokens has a limit like 50 or so.
There's no limit to how many images or tokens are in a directory. Within the Assets window, these are displayed in pages, with a maximum number displayed per page - click the right/left arrows either side of the window to move between pages.