I'm trying to make a Recycle Bin skin which changes to reflect how full the bin is. For example, if the recycle bin has items which collectively are equal to or less than 256 MB, I want it to show an image which looks quarter full. If it's less than 512 MB, I want it to show an image which looks half full. If it's less than 768 MB I want it to show a three quarters full recycle bin and if it's above 768 MB, I want it to show a full recycle bin. I've already made the icons in photoshop. I tried if conditions, but they don't seem to work. Can anyone please help?
Now there's another problem. When I delete 2 files of 200 MB each one by one, it shows the hall full image, as it should, but if I restore only one of the files from the recycle bin, it keeps showing the half full image instead of the quarter full image (since the file size is less than 256). Refreshing doesn't work, and the only way to make it show the correct image is by either restoring or deleting every file from the recycle bin, so that it's empty. Could you help please?
achintyagk wrote:When I delete 2 files of 200 MB each one by one, it shows the hall full image, as it should, but if I restore only one of the files from the recycle bin, it keeps showing the half full image instead of the quarter full image (since the file size is less than 256). Refreshing doesn't work, and the only way to make it show the correct image is by either restoring or deleting every file from the recycle bin, so that it's empty. Could you help please?
I'm not entirely sure what's going on, but it seems you're right. If I'm not wrong, a while ago here on the forum we had a post about a bug of the RecycleManager plugin. I can't remember what have I read and now I can't find that post, but I think I've read something like this.
Maybe someone who knows better what's going on, will come to clarify...
Oh. Thanks anyway! You've both been of immense help! I guess I'll just keep the recycle bin as is. I was wondering why there isn't many recycle bin skins like what I was trying to make. Perhaps this is why? Anyhow, thanks once again!