Download & Extend

Chrome shows ugly broken image-icons if "Overide default Drupal7 file field icons directory " is turned on

Project:Iconizer
Version:7.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:thePanz
Status:active

Issue Summary

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.

Comments

#1

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

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

#2

<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>
     

#3

This is part of a view formated with semantic views

#4

Assigned to:Anonymous» 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?

#5

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 ...

#6

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..

#7

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.

#8

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?

#9

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

#10

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 ;-)

#11

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...

#12

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?

#13

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

#14

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)"

#15

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?

AttachmentSize
Capture.PNG 11.58 KB

#16

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?

#17

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!

nobody click here