I regulary work with the “image module” and I had never had any problem since today.

I deleted by mistake a part of the “files” folder and to enmend it I uploaded a backup in order to restore the missing files.

All the images from the contents created with “flexinode” were succesfully restored, but there are errors in the image gallery.

The webpage in which the image galleries “/image” are shown does not show “thumbnails”, instead, shows the images in their full size (“preview”). I reall don’t know what has happened, and I can’t see thumbnails where they could be seen before, maybe it is something concerning the images permissions or the folder where they are stored.

I hope someone can help me.

Thanks!

Comments

gravit’s picture

Hello -

This is odd - somehow a few days ago all my images were deleted, and I still don't know how.

I untarred a server backup - and Now I am having the same Issue!!! The thumbnails are all there, but somehow the image module won't load them.

I am going to try and re-index the site to see if that solves it.

gravit’s picture

Well, I killed and re-indexed the site, hoping that the image module might clear out some cron item it ran when there were no thumbnails - alas, this did nothing.

I am really at a loss as where to even look for this - could it be an .htaccess issue?

bekeen’s picture

Enable your feedback form, please. I'll send a message for you.

gravit’s picture

Well, I had to do it myself, but I found out what was wrong. If anyone runs into this issue, contact me and I'd be glad to help answers your questions.

gb5256’s picture

Hi, I have the same problems.
When I open the image galleries, all galleries are shown but no thumbnails.
The numbers of images in each gallery are correctly shown.

If I click on a link to one gallery, it shows nothing and says: 0 images in this gallery.

You said that you have a solution.
Can you post it?

gb5256

gravit’s picture

HI gb5256 -

You might be having a different problem - there are a couple things to check first.

1. Are you sure that the thumbnails actually exist on your site? If you FTP to the site, can you see them in your files folder?
2. Check the files table in your database and see if there are entries for the thumbnails there.

gb5256’s picture

Hello,

the drupal has created all three kinds of images: original, preview and thumbnails.
They are all stored in the "files"-Folder.
Yes, I can point to them via FTP.

All the other modules, like the image-module itself, finds them without errors:
If I click on one image (not inside the gallery-module) it gives me the possibility to open the image as thumbnail or original (if I actual view the preview).
Then, If i click on the link for thumbnail, it opens correctly.

Now to MYSQL :
The table looks good to me.
(And it have to because otherwise the image module would not show the thumbnail, right?)

Any Ideas?

gravit’s picture

My problem was that the "files" table was incomplete and I was ending up with images that didn't have an entry for thumbnail or preview. so I followed the instructions here:

http://drupal.org/node/71178#comment-147675

But it seems like you are having a separate problem. If you can paste a link, I would be willing to peek at the outside.