Posted by slampy on October 13, 2009 at 4:06pm
4 followers
Jump to:
| Project: | Image Browser |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When I try to insert a Image from FCKEditor and the Image Browser window pops up, each image is listed to times. Maybe it is because of ImageCache that I have two presets and it shows all of them.
Only one (the original) image should be shown in the Image Browser dialog.
Comments
#1
I think it's because the Image module will create multiple entries in the Files DB for each image size. In your view you can exclude any additional sizes if you edit the IB view you will see a Filter: File: Path !has .thumbnail, add File: Path !has .preview or whatever additional Image sizes you have on your installation. It's a bit backwards how Image works (well I think it is: having multiple images of the same thing at different sizes in the same DB, I much prefer the way ImageCache works). So hence the hack in IB's view.
Hope this helps.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
I think to hack the IB's view to force show only the original image is not optimal. If someone has a lot of imagecache presets, that could annoying to add an filter for each preset.
Is it not possible to show only the original image file as default in the browser? The other images are redundant, because we can select the preset after select the original.
#4
I see this issue is only active if the image module is enabled. After upload an image in the image browser a new image node will create with the image sizes from the image module. So that's why i wondered when i deleted an image file in the image browser the image node is still there.
It would be nice if the Image Browser handling take care of the Image Module. Anyway this Version 2 is awesome. That's the way to handle with upload images.