Image Assist still "sees" the number of images and pages through them, but they do not appear in the window and thus aren't selectable. Uploading new images works, but they still do not show up afterwords.

I have 3 separate sites that all have this problem after updating to the newest version of image_assist 6.x-2.0-alpha4. Each site has a different theme... they share WYSIWYG and TinyMCE modules and are all updated with the latest recommended versions of all modules (I am running Drupal 6.15).

I have checked and edited various views image_assist_browser settings (all images are set to published) and no luck.

Has no one else had this problem??? Any suggestions?


image-assist-problem.png85.69 KBdesierto
Members fund testing for the Drupal project. Drupal Association Learn more


mischan’s picture

I've got the same issue here. New uploads work without a flaw but when using the "add image" pop-up i get an empty list (even though the correct number of images is shown).

relevant html output in frame "img_assist_main" (just in case this is a selection issue):

      <div class="view-content">
      <table class="views-view-grid">
                <tr class="row-1 row-first">
                  <td class="col-1">

            <a href="/htc/img_assist/properties/" title=""></a>
                  <td class="col-2">
            <a href="/htc/img_assist/properties/" title=""></a>
                  <td class="col-3">
            <a href="/htc/img_assist/properties/" title=""></a>

                <tr class="row-2 row-last">
                  <td class="col-1">
            <a href="/htc/img_assist/properties/" title=""></a>
                  <td class="col-2">
            <a href="/htc/img_assist/properties/" title=""></a>
                  <td class="col-3">
            <a href="/htc/img_assist/properties/" title=""></a>

desierto’s picture

I have set up another brand new install with the same exact issue. I have the newest versions of the 6.x line of Drupal and modules with TinyMCE editor.

I assume since not many people have this problem it must be specific to the various modules and the configuration I have. I can't figure out what the problem is. Anyone else know whre the problem may lie? Thanks.

lappies’s picture

Same here.
I tried the module on a clean install. tried the 6.x-3.x-dev and then the 6.x-2.x version.
If this can give some pointers:
(1) when just looking at the view both views of both versions are not working to display images as a view.
(2) I also had tinyMCe edit installed with and without WYSIWYG (api) since Assist installed without it..
Hope this help

desiree’s picture

I have the same problem as the ones posted above. Using Image Assist 6.x-2.0-alpha4. Uploading new images works, but they do not show up afterwords; although there are 472 images, none are listed.

schlegel’s picture

I'm having the same problem. Seems like it's something wrong with the "Image Assist thumbnail" Row Style selected by the img_assist_browser view. By changing this row style to "Node", I can at least see the images, but obviously can't select them.

schlegel’s picture

This worked in my case. The Image Assist file is assuming $vars['row'] (which I'm assuming the Views module creates) is going to contain the nid of the image, but on my setup it only includes the node creation date.

So in img_assist/theme/, replace:
$node = node_load($vars['row']->nid);
$node = node_load(array("created" => $vars['row']->node_created));

ronline’s picture

Settings from note #5 + fixe from note #6 fix problem for me.

desierto’s picture

Status: Needs review » Fixed

Schlegel -- Thanks so much! This also worked for me. Seems like the module code needs to have this fix in it permanently.

Thanks again.

ferrallc’s picture

Suggestions in #5 and #6 did not appear to fix this problem for me.

desiree’s picture

Suggestions #5 & 6 did not fix this problem for me either. However, removing the Published Filter from the View solved the problem for me. If you usually do not publish your images, this should resolve the problem.

In Home/Administer/Site building/Views/Edit view img_assist_browser, just change Node: Published from YES to NO in the Filters.

ferrallc’s picture

The suggestion to change the Published filter did not fix the problem for me. I also tried deleting that from the filter altogether ... no luck.

VenDG’s picture

None of the suggestions work for me. I am working with a new install and the recent version of the modules.

andy68man’s picture

#6 fixed it for me! Thank you, you big genius you! :)

menteb’s picture

Version: 6.x-3.x-dev » 6.x-2.0-alpha4
Status: Fixed » Needs work

What worked for me is changing the "Distinct" in the View to "yes".
#6 didn't do it for me, neither did #5.

lithiumhead’s picture

following only #14 worked for me too

beein’s picture

Neither of suggestions #5, #6, #10, #14 (or any combination of them) work for me.
Only change Row style in Views from Image Assist thumbnail to Node displays images, but none of them are selectable (#6 didn't fix problem - as said #9).

Bottom frame in Image browser shows only empty links to images - as this:

    <td class="col-1">
         <a href="/xxxxxxxxx/?q=img_assist/properties/12" title="name of picture"></a>

Drupal 6.17 on localhost, other modules: Internationalization, Ligthbox2, Menu attributes, Taxonomy menu, CCK, Views, Context, Image

Hyunwoo’s picture

#6 works for me.
drupal is 6.19 and image assist is 6.x-2.0-alpha4.
Will there be any bug fix on the main tree?

MikeNGarrett’s picture

[redacted] - issue was with my setup.

STINGER_LP’s picture

Version: 6.x-2.0-alpha4 » 6.x-3.x-dev

Having the same problem on IA and Views 6.x-3.x-dev. Solution, posted in comment #6 worked for me.

mattcasey’s picture

#14 worked using Views 3.x from 11/02 - all I had to do was turn on "Distinct" under Query Settings.

Also, make sure to check your version of Views - even the latest dev of this module only requires Views 2. The popup worked out-of-the-box for me when I had Views 2.x installed.

wmfinck’s picture

Wow, I have been living with this on about 20 websites ever since Views 6.3.x came out and I upgraded. Setting "Distinct" on the query settings fixed it. That was easy, but it took a long time to get the time to do it! Mostly, because my sites use very few repeat images. Thanks!

chadsten’s picture

#6 worked here as well. I didn't try #14, I would suggest trying it first, hacking the module isn't good practice. I was in a hurry however. Thanks!

Jason_K’s picture

#14 Worked for me using Views 3.x, and saved me a lot of heartache! Thanks for the advice.

davidteall’s picture

#14 Worked for me using Views 3.x. It is worth emphasising that the 'Distinct' setting is found in Views 3 under Advanced settings | Query settings | Settings. It took me a long time to find it!

Thanks for the advice menteb.

dashah’s picture

I think the issue is just as we are not getting the nid in the query
#6 and #14 both does a same kind of thing.

In #6 we dont have nid so it loads the content using the created date and
in #14 we add distinct so it adds nid in the query.

So both thing works, but what's the actual solution ?


tamhas’s picture

Issue summary: View changes

I have recently encountered this issue on 6.34 and 6.37. There seem to be a number of conflicting suggestions some of which work for some and not for others. Does one just poke around and hope or is a fix actually forthcoming? With three years of inaction, I guess I shouldn't hold my breath...

tamhas’s picture

Tried #6 and it seems to work here.

othermachines’s picture

Apparently if you want an upgrade path from Drupal 6 to 8 and you use Views you will need to first upgrade from Views 2.x branch to 3.x. Oh, boy. :-P Anyway, like many others I came across this problem and selecting DISTINCT under Query settings fixed it, although I also had to reset the pager after I did so. Thanks!