When "Overide default Drupal7 file field icons directory" is turned on, all Images disappear but. The image tags stay there and some Browser's like Chrome displace it with a broken-image symbol.

CommentFileSizeAuthor
#15 Capture.PNG11.58 KBraydenxxx

Comments

thepanz’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Assigned: andros » Unassigned

Could you please send the HTML for the missing image? Where is the IMG tag (read the src attribute) linking to?

andros’s picture

 <span class="file"><img class="file-icon" alt="" title="application/pdf" src=""> <a href="http://example.com/data/file.pdf" type="application/pdf; length=163834" title="file.pdf">file</a></span>, <span class="file"><img class="file-icon" alt="" title="application/pdf" src=""> <a href="http://example.com/data/file.pdf" type="application/pdf; length=213743" title="file.pdf">Sendebeleg</a></span>
      
andros’s picture

Assigned: thepanz » Unassigned

This is part of a view formated with semantic views

thepanz’s picture

Assigned: Unassigned » thepanz

Can you try to follow #1199922-6: I don;t see any icons in toolbar or admin pages and see if your issue is fixed?

andros’s picture

Assigned: Unassigned » thepanz

yep ... now i got some icons there, ... but now i got the icons from drupal AND iconizer so there are double.

what i initially want to do is, deactivate the drupal icons on attachments, because, how does this work when you got to sorts of icons on one file?
i simply don't get it ...

thepanz’s picture

Iconizer should *replace* Drupal icons for attachments. I test it with D7, first release.
Now I don't have any D7 install to test it further.. try clearing the cache, re-install Iconizer..

andros’s picture

If i select "Overide defaul Drupal7 file field icons directory " (there is a typo) or not, i got two separate Icons. Only difference: in one case the Drupal icons get replaced by Iconizer, but the Iconizer File-Icon is always there.

andros’s picture

I have found a workaround for me, i replaced the drupal7 mime icons with a one pixel transparent.

Am i the only one with this icon duplication problem?

thepanz’s picture

I've tested it with a *fresh* install od F7 and it works fine.
Try:
1. disable CSS aggregation
2. Clear Drupal cache
3. disable and re-enable Iconizer "Overide defaul Drupal7 file field icons directory" setting

andros’s picture

yes, i have tried this already. but, do you have now only one icon on attached files, with this settings?
not for me, it show the iconizer file icon AND the *replaced* drupal icon.
as i said, my solution is to turn the replaced drupal icons into invisible 1 pixel pictures ;-)

raydenxxx’s picture

Same problem here.

Note that the problem only exist in chrome, in Safari when an image link is broken the image is not shown

Any solution, three months later?

- I have no CSS agregation, I tried clear cache and enable/disable etc...
- I tried on two environnments on my D7 installations...

thepanz’s picture

I test latest iconizer module with Chrome (14.0.835.186 Windows7 32bit) + Garland 7.8 theme and it's working fine.

A minor issue is with setting save/restore (the checkbox value is wrong); please check that Iconizer setting description is (the mimetypes folder is displayed in italic font):

Overrides the default Drupal7 file filed icons (currently set to: sites/all/modules/iconizer/mimetypes)

Can you check it?

raydenxxx’s picture

This is my value (currently set to: modules/file/icons)

thepanz’s picture

Can you please uninstall the module and re-install latest -dev release (uploaded yesterday)?
The module should display "(currently set to: sites/all/modules/iconizer/mimetypes)"

raydenxxx’s picture

StatusFileSize
new11.58 KB

Just install the last dev release... same problem.

See the picture attached.

UPDATE:
I tried putting the mimtype icons in the folder (as explain in the second readme), this time twice icons appeared...
Perhaps I don't understand the way it should work?
But I thought mine new icons should replace Drupal's one... Am I wrong?

UPDATE 2 : My configuration come back again on "modules/file/icons" why?

thepanz’s picture

Please check if:
- the problem is there with Garland 7.8 theme
- the mimetypes icons (downloaded from my website) are *correctly* in /sites/all/module/iconizer/mimetypes
- the Iconizer setting "Enable icons for files links" is OFF

Can you send me a preview of Iconizer Settings page?

raydenxxx’s picture

ok it works, the problem was that "Enable icones for files links" were checked.
I think you should put a radio button instead of a checkbox. It's confusing.

Thank you for your support, great module!

thepanz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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