LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: arch on February 03, 2011, 07:45:10 AM

Title: Displaying images
Post by: arch on February 03, 2011, 07:45:10 AM
Hi, I'm testing a small plugin and I'm having difficulty getting the card images to display correctly.

Everything works perfectly if i put the card images in the 'general' folder, but taking them out into a folder named after the 'Set', causes them not to display. More specifically they work when placed "\sets\setimages\general" but not "sets\setimages\<SetName>". I've tried multiple variant of renaming the set, and also renaming the image files, in each case, they work from the general folder, but not the other.

Any help would be appreciated.
Title: Re: Displaying images
Post by: Trevor on February 03, 2011, 09:12:06 AM
Put all images in general if you use REUSECARDIMAGES as an option in plugininfo.txt.

If you need a hand, post your plugin and we can take a look at the files.
Title: Re: Displaying images
Post by: arch on February 03, 2011, 09:58:24 AM
Oh wow that fixed everything. Thanks for the quick answer. Thats what i get for blindly copying things.

I will if i run into a problem when its more fleshed out. But its just a small test, which is why I couldn't understand why it wouldn't work.

Anyway, thanks again.