Just a small suggestion to only display files of mime-type image/[something] into the image browser.
See patch suggestion below.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | wysiwyg_imageupload_browser.module_735224.patch | 828 bytes | jbiechele |
Just a small suggestion to only display files of mime-type image/[something] into the image browser.
See patch suggestion below.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | wysiwyg_imageupload_browser.module_735224.patch | 828 bytes | jbiechele |
Comments
Comment #1
jbiechele commentedHere a possible patch for that
Comment #2
eugenmayer commentedWell not needed, as its checked when the image is uploaded. so there is no way to have "non images" in the browser.
Or did i miss something?
Comment #3
jbiechele commentedIn some projects I have node attachments like PDF in the 'files' table
and they're displayed as "broken" images in the image browser.
I can't find another way to filter them out from the image browser.
Comment #4
eugenmayer commentedThats odd. Actually that should not be possible - thats rather a bug
Comment #5
jbiechele commentedUops .. now I'm a bit confused. Just to clarify:
I mean PDF attachments uploaded via the drupal default node form file attachment dialog,
not via wysiwyg_imageupload (which isn't posible anyway).
These attachments appear in the 'files' table. You mean they should not appear there?
Where should these be stored then?
Comment #6
eugenmayer commentedjbiechele got you, thats a bug in the image browser which does not use the relation between files and thw wysiwyg_imageupload table.
Comment #7
eugenmayer commentedwill be fixed included in 1.2
Comment #8
eugenmayer commentedreleased in 1.2
Comment #9
eugenmayer commented