Images do not appear

Hello, I've recently installed this plugin a couple of days ago and started configuring it. I've set all the kits up with items and prices. I started getting to the images and started having issues. At first, the image size was too big so I dropped the resolution down until I didn't have the error come up in the console anymore. Once I did that, I received questions marks but no image of mine.

 

Post your config and a screenshot , it might help, you could also look at the other threads regarding this type of issue

jdCpIB1u34Dww0J.jpg pookins

Post your config and a screenshot , it might help, you could also look at the other threads regarding this type of issue

Yeah, I looked at the previous threads trying to figure out why it was buggy and couldn't fix it. I'll post my config.



Merged post

This is the kit with the image I want:

{
"_kits": {
"PvP Kit Semi rifle": {
"Name": "PvP Kit Semi rifle",
"Description": "Want to get into some PvP? Purchase the Semi-Automatic Rifle kit.",
"RequiredPermission": "",
"MaximumUses": 0,
"RequiredAuth": 0,
"Cooldown": 3600,
"Cost": 1250,
"IsHidden": false,
"CopyPasteFile": "",
"KitImage": "https://i.imgur.com/a/nNye3YT.png",
"MainItems": [
{
"Shortname": "ammo.rifle",
"Skin": 0,
"Amount": 70,
"Condition": 0.0,
"MaxCondition": 0.0,
"Ammo": 0,
"Ammotype": null,
"Position": 0,
"Frequency": -1,
"BlueprintShortname": null,
"Contents": null
}
],
"WearItems": [
{
"Shortname": "hazmatsuit",
"Skin": 0,
"Amount": 1,
"Condition": 450.0,
"MaxCondition": 450.0,
"Ammo": 0,
"Ammotype": null,
"Position": 0,
"Frequency": -1,
"BlueprintShortname": null,
"Contents": null
}
],



Merged post

I also have ImageLibrary of course. The image just doesn't appear. Gives a red checkmark with a white background.
Locolandac

Yeah, I looked at the previous threads trying to figure out why it was buggy and couldn't fix it. I'll post my config.



Merged post

This is the kit with the image I want:

{
"_kits": {
"PvP Kit Semi rifle": {
"Name": "PvP Kit Semi rifle",
"Description": "Want to get into some PvP? Purchase the Semi-Automatic Rifle kit.",
"RequiredPermission": "",
"MaximumUses": 0,
"RequiredAuth": 0,
"Cooldown": 3600,
"Cost": 1250,
"IsHidden": false,
"CopyPasteFile": "",
"KitImage": "https://i.imgur.com/a/nNye3YT.png",
"MainItems": [
{
"Shortname": "ammo.rifle",
"Skin": 0,
"Amount": 70,
"Condition": 0.0,
"MaxCondition": 0.0,
"Ammo": 0,
"Ammotype": null,
"Position": 0,
"Frequency": -1,
"BlueprintShortname": null,
"Contents": null
}
],
"WearItems": [
{
"Shortname": "hazmatsuit",
"Skin": 0,
"Amount": 1,
"Condition": 450.0,
"MaxCondition": 450.0,
"Ammo": 0,
"Ammotype": null,
"Position": 0,
"Frequency": -1,
"BlueprintShortname": null,
"Contents": null
}
],



Merged post

I also have ImageLibrary of course. The image just doesn't appear. Gives a red checkmark with a white background.

I just checked my image size and it is 531 x 438 , i just take a screen shot of the page showing inventory upload it and crop it to the image i want and use direct link from imgur. the file size is about 5mb ,
apart from that i have no clue as to why its not loading, some of my screen shots are png and some jpg but they both show in my kits gui (?)

gPb4BsxuhAnqSCu.jpg pookins

I just checked my image size and it is 531 x 438 , i just take a screen shot of the page showing inventory upload it and crop it to the image i want and use direct link from imgur. the file size is about 5mb ,
apart from that i have no clue as to why its not loading, some of my screen shots are png and some jpg but they both show in my kits gui (?)

Oh so do you think I can only use screenshot images? I can't use my own custom images I make?

Locolandac

Oh so do you think I can only use screenshot images? I can't use my own custom images I make?

Because i got these image problems when showing kit contents (on opening kit)

So i decided to put everything in the kit into the main inventory (inc clothing) take a screenshot, crop it to size then use that image for the kit.

That way the players can see all the contents of the kit before they redeem it.

The players view when typing /kit  (they are in order of availability regarding time on server)
uRIed0MD4P8Y56q.jpg pookins

Because i got these image problems when showing kit contents (on opening kit)

So i decided to put everything in the kit into the main inventory (inc clothing) take a screenshot, crop it to size then use that image for the kit.

That way the players can see all the contents of the kit before they redeem it.

The players view when typing /kit  (they are in order of availability regarding time on server)

Yup, I understand the method you are doing as I read the other threads, but what I'm mostly asking is if custom images are not allowed or something or if there is another way to do this? When I saw the plugin take images, I assumed it can take any image link I added so I thought custom images would be fine.

I hired a guy to make me some custom images for the shop and come to find out they keep giving me question marks as I input these custom images. Does this mean I would have to do it the way you are doing it to display an image on the kit? I would rather have my own custom-made images, but if only taking screenshots of the inventory in-game works then I guess I would have to take that route unless if there is some fix towards this.

The problem is ImageLibrary , I have my problem because it will not recognise items (added to my inventory by FP) I have no paid skins but use skins plugin to change the availble colours, So Your problem is/will be that it will not (probably)   recognise the custom image and so will not display it ,
When you start/restart your server watch the webconsol and you might see a message coming up that certain images will not load as i do.