I have a bunch of files in .dmg format which were set to the "unknown.png" icon image rather than dmg.png. I see the .png version and manually editing the downloads I can set the file icon and it works fine. Is there a way to go back and rescan all files using the unknown.png file to the new versions? I may write a tool to do this myself but I am not that good with SQL commands...
Hi
One way is to goto the database and edit that - but take a backup first.
However whilst a bit boring the manual way you are doing it is the safest way.
Also when I do such a task I set myself a target of say 20/day not exciting but effective
Colin
Quote from: ColinM on 04.06.2025 01:04:57Hi
One way is to goto the database and edit that - but take a backup first.
However whilst a bit boring the manual way you are doing it is the safest way.
Also when I do such a task I set myself a target of say 20/day not exciting but effective
Colin
Ok I guess I will do it the manual way as I am not skilled at coding sql. How can I make sure future additions use this icon and not the unknown.png version?
Hi
The dmg.png image is in the jD distribution kit. So it will be there for all releases
Colin
PS The safest best way to get the icon added to older Downloads is to just add it where missing rather than the database way
Will do!
Hi
Am also making some more icons as per your suggestion. So far have done bz2 and hqkx. Will send to Arno ti=o u=include in next upade . Whwn done I will send yo a PM the the new imagesColin
Hi,
Ihave made icons for sit, tgz, bz, bz2 and hqx
They are in the attached zip. All are the regular 64*64 with depth 32
They need to be unpacked and uploaded to using say Filezilla or your site file manager to:
your site/images/jdownloads/fileimages/flat1
Colin
I made a tool to do this. Link here: https://www.jdownloads.com/forum/index.php?topic=14737.0