rejetto forum

[RAWR template 0.1.0] Icons

0 Members and 1 Guest are viewing this topic.

Offline Sentinel

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
is there an easy way to switch to GIF PNG or JPG icons instead of the basic HSF icons?
I am realy happy with the Black RAWR template i eaven started to customize it and give
you all a nice new template based on this one, but i realy need to get rid of those ugly icons,
they are grainy and surounded by white pixels :S

it realy looks silly

So is there anyone that could help me out to fix the icons like in the terayon template? i would realy apreciate it


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 644
  • present picture
    • View Profile
    • Admin
Create a 16 x 16 pixel *.ico in photoshop or simmilar prog.
Drag them into the root of your virtual filesystem in hfs
Right click folder of choice, in vfs. Icon -» New icon...


GOD CAN READ YOUR MIND


Offline Fysack

  • Tireless poster
  • ****
    • Posts: 644
  • present picture
    • View Profile
    • Admin
Those HFS icons are nice  :-*
if your image editor program dont have the option to Save as *.ico  Open the file you createt, in IrfanView, then Save as *.ico
« Last Edit: April 06, 2008, 01:10:28 AM by Fysack »
GOD CAN READ YOUR MIND


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
hmm, this gave me an idea.

maybe Rejetto can set file/folder icons like favicon.ico, where you can just add them to the root of the vfs and hfs wil use them instead of the default icons.


Offline Sentinel

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
well actually i was hoping to do it without icons... but i understand why that part didn't come across correctly.

I want to use pictures like in terayon, also linked to the file type it should represent (like the basic icons do now)

reason why? reason is that the current icons show an ugly white distortion on a black/dark background


Offline Giant Eagle

  • Moderator
  • Tireless poster
  • *****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
in terayon, we define every extension where an image is available for like this:

Code: [Select]
[file.jpg = file.bmp = file.png = file.exe = file.zip = file.rar etc etc etc]
then, we use %item-ext% to extract the extension and call the right image in the icon folder

Code: [Select]
<img src="/template/icons/%item-ext%.jpg" alt="%item-ext%" />
for all the other files where we dont have an extension for, you can use the default file icon or the hfs ones. W/e you want.

Code: [Select]
[file]
<img src="/template/icons/file.jpg" alt="%item-ext%" />

I hope this helps.




Offline Fysack

  • Tireless poster
  • ****
    • Posts: 644
  • present picture
    • View Profile
    • Admin
maybe Rejetto can set file/folder icons like favicon.ico, where you can just add them to the root of the vfs and hfs wil use them instead of the default icons.
??? Im sorry,i dont understand.. When i drag a file onto my vfs, the ico of that file, do appears in my hfs. They appears as icon 10000, 10001, 10002 etc.
hmm, so maybe you dont have to Icon-» New icon... after adding file to vfs. Only if you change icon of a New folder...
But then again, you have to add that ico to vfs. And save vfs. So that the icon dont dissappear after a re-boot.

Is it an "autosave" of icons, instead of having to put them in vfs what you mean Foggy?
GOD CAN READ YOUR MIND


Offline Sentinel

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
in terayon, we define every extension where an image is available for like this:

Code: [Select]
[file.jpg = file.bmp = file.png = file.exe = file.zip = file.rar etc etc etc]
then, we use %item-ext% to extract the extension and call the right image in the icon folder

Code: [Select]
<img src="/template/icons/%item-ext%.jpg" alt="%item-ext%" />
for all the other files where we dont have an extension for, you can use the default file icon or the hfs ones. W/e you want.

Code: [Select]
[file]
<img src="/template/icons/file.jpg" alt="%item-ext%" />

I hope this helps.




Thx mate i'll have a stab at it, wish it would be easier tho ;)


Offline ladiko

  • Occasional poster
  • *
    • Posts: 75
    • View Profile
bigger default icons pls! 32x32pxl from shell32.dll instead of these 16x16 please! =(