Just upgraded to Image Assist 6.x-2.0-alpha2 and when I try to insert an existing image into a node, the pop-up window is empty. The updates in the module are working fine, the new custom derivatives are regenerated correctly with WWWxHHH in the file name, and all existing nodes with images inserted show correctly. It is just that none of the images seem to be known to the insert image pop-up window. See screen grab below.
Drupal 6.8
Image 6.x-1.0-alpha4
Image Assist 6.x-2.0-alpha2
Image Attach 6.x-1.0-alpha4
| Comment | File | Size | Author |
|---|---|---|---|
| add_image.jpg | 37.17 KB | jonathan1055 |
Comments
Comment #1
jonathan1055 commentedTemporarily reverting the Image_assist code to 6.x-1.0 fixes the problem, so it is not a fault in the db update, it must be in the code somewhere. Hope this helps.
Noticed that the Image module is the one that actually contains the /contrib/image_attach/ directory, so should this error be reported for Image instead? The problem only appeared when I upgraded Image_assist, so that is why I reported it here.
Would be pleased for any assistance, as currently my users cannot attach any of their existing images. Thanks
Comment #2
jonathan1055 commentedDone some more testing, and have discovered that images which are published (on their own as nodes) are shown in the image_attach pop-up window. It is unpublished images which are not being displayed. All of the images used in my site are embedded into other nodes, so the actual 'image' content type never gets published. So it must be the filter selecting which images to show as 'My Images' and 'All Images' is removing unpublished images. This is a change from the previous behaviour, and I suspect it was not intentional.
Comment #3
jonathan1055 commentedSorted it.
Read all the background from #282184: Views integration and discovered that this new version of Image_assist 6.x-2.x uses a view to build the attach pop-up window. One of the filters in this view was published=yes, and I can remove this to show all images.
I was surprised that this was added to the default view, as many sites must upload images as nodes which are not published, then the authors use the images in their blogs posts, etc.
Any, it is working now, except that the count of images is not showing. I have another issue #362128: Number of images not showing in drop-down text for this.
Comment #4
kitcorsa commentedi have a problem with image assist... when i start a new story i click the add image button upload an image and do as instructed but the node just has the following....
[img_assist|nid=25|title=Test Image|desc=|link=none|align=left|width=100|height=45]
test
no image is shown withing the the story text
Comment #5
iajaja commentedDid you tried to switch to Full HTML input format?
Best,
iA
Comment #6
kitcorsa commentedi got this issue sorted... turned off all the WYSIWYG editors and its all fine.