Thumbnail error

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
Memebooms
Inhabitant of a Megacity
Reactions:
Posts: 311
Joined: 23 Oct 2021, 07:20

Thumbnail error

#1

Post by Memebooms »

TheOfficialLSC and I made a plugin about AOE3, with new history middle pack as much as good.

Then, I made a couple of buildings, but then I saw something unusual about I made new building...
Screenshot_20220517_151252.jpg
Screenshot_20220517_151159.jpg
Screenshot_20220517_151309.jpg
Screenshot_20220517_151152.jpg
Well, TheoTown freaked me out... Because it thought that there were no thumbnail, but I just put category with JSON on it and thumbnail too!

The problem was just ineligible... Please help!?
User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Thumbnail error

#2

Post by Lobby »

The order of loading matters. Here the Arsenal.json will be loaded before BritThumbnail.json so the category was not defined, yet. To ensure certain order I've seen people prefexing the files that have to be loaded first with aaa or similar :)
User avatar
Memebooms
Inhabitant of a Megacity
Reactions:
Posts: 311
Joined: 23 Oct 2021, 07:20

Re: Thumbnail error

#3

Post by Memebooms »

Lobby wrote: 17 May 2022, 09:59 The order of loading matters. Here the Arsenal.json will be loaded before BritThumbnail.json so the category was not defined, yet. To ensure certain order I've seen people prefexing the files that have to be loaded first with aaa or similar :)
How?
User avatar
CommanderABab
AB
Reactions:
Posts: 11102
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Thumbnail error

#4

Post by CommanderABab »

By renaming Brit_thumbnail.json to Aaa_brit_thumbnail.json
User avatar
Memebooms
Inhabitant of a Megacity
Reactions:
Posts: 311
Joined: 23 Oct 2021, 07:20

Re: Thumbnail error

#5

Post by Memebooms »

CommanderABab wrote: 17 May 2022, 21:40 By renaming Brit_thumbnail.json to Aaa_brit_thumbnail.json
Wait is it good if I put underscores in the JSON?
You mean...

Renaming JSON, BritThumbnail.json into -----> Aaa_Brit_Thumbnail.json? Is it ok?

Or I'll rename IDs?
User avatar
CommanderABab
AB
Reactions:
Posts: 11102
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Thumbnail error

#6

Post by CommanderABab »

I believe using underscores is OK, but if you put it at the beginning, the file will be ignored.

Yes, that is what I meant.
User avatar
Memebooms
Inhabitant of a Megacity
Reactions:
Posts: 311
Joined: 23 Oct 2021, 07:20

Re: Thumbnail error

#7

Post by Memebooms »

CommanderABab wrote: 18 May 2022, 17:25 I believe using underscores is OK, but if you put it at the beginning, the file will be ignored.

Yes, that is what I meant.
Oh thank you!
The plugin looks good now!
Post Reply Previous topicNext topic

Return to “Problems”