Despite having 81 images img_assist says:

No images were found. Please upload a new image or browse images by a different category.

I can add images but they don't show either.

I use drupal 5.1, and img_assist 5.x-1.1.

Thanks
Karl

CommentFileSizeAuthor
img_assist.jpg19.99 KBborstahusen

Comments

borstahusen’s picture

Please!

a.k.karthikeyan’s picture

okay same problem but i am using 4.7...checked file perm...seems ok..not sure whats the problem

mic.mex’s picture

Version: 5.x-1.1 » 5.x-1.4

I have encountered the same problem.
Now I'm using :
drupal 5.1
mysql 4.1.7
image 5.x-1.1
image assist 5.x-1.4

After some investigation I found that problem arises in a query:

select n.nid from node n
where n.type='image'
ORDER BY n.sticky

(I simplified it)

it somehow can be fixed by rewriting it this way:

select n.nid from node n
where trim(n.type)='image'
ORDER BY n.sticky

I suppose that it's a mysql issue. I use mysql version 4.1.7 .

I didn't find any related bug report on mysql site.

The following two commands on mysql drupal base fixed this issue for me:

drop index node_type on node;

create index node_type on node(type);

I suppose that fix in the module in trim(n.type) fashion is possible, but can slow down the query.

mic.mex’s picture

Title: No images were found » some clarifications

I forgot to say that

select n.nid from node n
where n.type='image'
ORDER BY n.sticky

was returning empty rowset before fixing and nonempty one after.

mic.mex’s picture

Title: some clarifications » No images were found. Please upload a new image or browse images by a different category
sun’s picture

Title: No images were found. Please upload a new image or browse images by a different category » No images are found.

Did you enable the taxonomy module, configure the taxonomy vocabularies in Image Assist settings and assign all images to at least on taxonomy term of that/those vocabularies?

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)
sun’s picture

Component: User interface » Code
Status: Postponed (maintainer needs more info) » Fixed

Please update to the latest development snapshot. You might also update Image module. However, please follow compatibility instructions on the project page and of course, installation/upgrade instructions in the README file.

If you still encounter this problem after upgrading, feel free to re-open this issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)