Hello all!
Please help!
I have upgraded from D4.7 to D5.10, and upgraded to Image 5.x-1.9.
After upgrading, I noted that almost all OLD image nodes show nothing: neither 'original' images nor 'preview' images. However the 'thumbnail' link (node/1234?size=thumbnail) shows the thumbnail image.
I should mention that all of the images exist in files/images/ path.
For an image node (e.g nid=1234), the {files} table contains only two records, with {files}.filename are 'thumbnail' and 'big_thumbnail' (a custom size used before upgrade). But no records for '_original' and 'preview'.
However, I have no problem with image nodes created after upgrade.
When I manually inserted a record in files table with nid=1234 and {files}.filename='_original', the node/1234?size=_original worked fine! And also regenerated the 'preview' record.
What should I do to restore missing records from {files} table?
Please help!
Thanks in advance.
Comments
Comment #1
hakeem commentedAny help?
Comment #2
halftone commentedMost likely the files are not deleted. The path used by Image v5.n changed for the private files method, and the update from 4.7 doesn't update the old paths as it should. If this is your issue see http://drupal.org/node/184489#comment-729048 (and the rest of that thread) for how to fix the problem and get your images back.
Comment #3
sunMarking as duplicate of #184489: broken image paths on upgrade (or migrate) if using private files setting