I moved my site from another server, and now images dont show up in galleries nor in specific content types created with cck.

File system (old server): files
File system (new server): sites/mysite.com/myfiles
Image path (old): image
Image path (new): image (same)

I've run update.php

Not sure what else to share. I had images in galleries on old server, and now I don't. Honestly, I've had more issues with the image module than I can shake a stick at; I just get so wore out trying to get support from the drupal community that I dont usually bother; I've put this off long enough, so I had to submit issue ...

Comments

Anonymous’s picture

Time frame on addressing issue?

Hetta’s picture

Why not go into table _files_ and fix the paths for each image?

Anonymous’s picture

I don't know? I'll give it a try. Thanks.

Anonymous’s picture

Isn't there an easier way? I have 100s of files.
===
Doug O.

Hetta’s picture

I do mysqldumps, correct the resulting files in kwrite (a text editor), and upload them back to mysql.
Somebody more versed in SQL could do all that with a single command ... try the other issues in this queue with your problem ("can't find images after {random event}"), you'll find one or the other elegant SQL command.

Hetta’s picture

Status: Active » Closed (duplicate)

... duplicate of http://drupal.org/node/208776 , where you'll also find a nice bit of sql to do the update for you.