Download & Extend

Allow user to decide which content gets icons

Project:Iconizer
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

AttachmentSize
iconizer1.png24.19 KB

Comments

#1

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;
}
*/

#2

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

#3

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.

#4

Status:fixed» closed (fixed)

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