I'd love a hack or user interface mod to allow me to choose which of the content types get icons. For example, I don't want them for images, but do for pdf.

Could a checkbox list be added?

In the mean-time how could I get rid of the use of icon for images?

CommentFileSizeAuthor
iconizer1.png24.19 KBclarkburbidge

Comments

clarkburbidge’s picture

Ok, so seconds later I found my hack....

I went to the files_icons.css file and commented out the lines that related to images.

This (line 87)...

a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] { 
	padding: 5px 20px 5px 0;
	background: transparent url(files_icons/icon_pic.gif) no-repeat center right;
}

to this...

/* a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] { 
	padding: 5px 20px 5px 0;
	background: transparent url(files_icons/icon_pic.gif) no-repeat center right;
}
*/
thepanz’s picture

Status: Active » Postponed

You're right: that is the way to disable the icons :)
Unfortunately there isn't any option to enable/disable custom icons-groups.
Maybe in a future version (2.x?)

Regards

thepanz’s picture

Status: Postponed » Fixed

Please refer to #405332: Link icon is added even if the link is an image as a *real* solution :)
Closing this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.