Jump to content

image change issue

Pending 1.2.0

NEBULA NOMAD
NEBULA NOMAD

Posted

So i just bought the plugin installed it into my server uploaded a image to check it out realzied the image was to be pixelated fixed the image with a newer one with and now it won't let me change the image even after 0.reloading the plugin even after i changed the png file name with the new one it still displays the original one i first loaded up 

RustFlash

Posted

Good morning, this isn't a plugin issue, but a problem with the image management system (ImageLibrary). 

This explains exactly what's happening:
First PNG uploaded -> ImageLibrary saves it under "afk_screen" -> you replace the PNG or the URL -> the plugin reloads -> ImageLibrary says: “I already have ‘afk_screen’” -> the old image remains.
Renaming the PNG file doesn’t help either.
For example, if you change from
afk.png
to
afk_new.png
but continue to use the same ImageName = “afk_screen” in the configuration or code, ImageLibrary doesn’t care about the filename. The internal key remains “afk_screen.”

You can temporarily fix the problem by deleting the /data/ImageLibrary folder once (be sure to deactivate the plugin first). This shouldn’t result in any data loss; the next time you load the plugin, your ImageLibrary will be cleaned up, and unnecessary images that aren’t being used will be removed. 

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.9m
Total downloads
Customers
11.9k
Customers served
Files Sold
169.7k
Total sales
Payments
3.7m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.