News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Update file icons to the latest versions for that file type?

Started by fstltna, 03.06.2025 23:54:19

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fstltna

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...
https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs - 14,000 downloads
https://amigacity.xyz - Portal for the Amiga - Over 9,221 free downloads!
https://beos.retro-os.live - Hub for fans of BeOS & Haiku operating systems
  •  

ColinM

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
Colin M
  •  
    The following users thanked this post: fstltna

fstltna

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?
https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs - 14,000 downloads
https://amigacity.xyz - Portal for the Amiga - Over 9,221 free downloads!
https://beos.retro-os.live - Hub for fans of BeOS & Haiku operating systems
  •  

ColinM

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
Colin M
  •  
    The following users thanked this post: fstltna

fstltna

https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs - 14,000 downloads
https://amigacity.xyz - Portal for the Amiga - Over 9,221 free downloads!
https://beos.retro-os.live - Hub for fans of BeOS & Haiku operating systems
  •  

ColinM

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
Colin M
  •  

ColinM

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
Colin M
  •  

fstltna

https://msbob.org - Hub for the best Microsoft product ever
https://macos.retro-os.live - Hub for classic Macs - 14,000 downloads
https://amigacity.xyz - Portal for the Amiga - Over 9,221 free downloads!
https://beos.retro-os.live - Hub for fans of BeOS & Haiku operating systems
  •