I have several sites that are running Node Gallery on Drupal 6 and will need to eventually upgrade them all to 7.0 versions. So I decided to backup and upgrade my personal blog site first. Followed all instructions in the UPGRADING.txt file and upgrade seemed to go very well without any noticeable errors to report. But when I turned on and did database updates for Node Gallery I noticed that all the images didn't display. Everything else seems to work correctly (layout and placement wise). See here as an example: http://www.lanceandilse.com/node/5159

It displays the image name, and when you click on the link it displays the full res image correctly, but no thumbnail. Looks like Image cache was bad so I flushed all of the image caches using https://drupal.org/project/imagestyleflush But that didn't seem to do anything. later I read about the whole move of CCK/Image to core 7, and the Migrate module made a lot more sense, etc.

I Created a new gallery and uploaded files just fine and they display correctly, including thumbnails. So I guess the problem is only with the old images that were brought over. Has anybody seen this and does anybody know of a fix for it? Thank you very much for a great module for all these years.

I can provide whatever debugging people may need.

Comments

webguyinternet’s picture

Issue summary: View changes

Clarified some of the steps I took.

darrenlambert’s picture

Issue summary: View changes

I was in a similar position.
I managed to get mine working by rebuilding the Media type information.
You need the Media module installed, then go to Admin -> Media -> Rebuild type information for media.
This seemed to fix it for me. I had also opened and saved the views that come with the module, and it reported that the views had been updated.

Hope this helps.

webguyinternet’s picture

Yeah!! It worked beautifully. 8,500 images later and all the thumbnails generated correctly. One note is that you actually need the Media 7.x-1.x module and have to complete the configuration of the module (at the top of the modules page after you enable it). It also appears that you have to keep the Media Module enabled for the thumbnails to continue to work correctly. But I have my images all back again. Thank You!

zengenuity’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

stevenx’s picture

How exactly did you fix this?
I can' find Admin -> Media -> Rebuild type