I moved the site to new domain and need to redo the urls linking to image but don't know where they are located. Is it possible to do this without having to re-upload image ?

Comments

nevets’s picture

They are in the files table (CCK stores the fid). Since they are stored as relative paths to the sites root directory if you moved the files over to the same place in the directory structure they should just work. Caveat though, if you copies over everything without retaining permissions, writable directories will need their owner changed (preferred) or permissions changed to 777, these would include any generated images by image cache.

espirates’s picture

They don't appear to be relative paths, in the files table, it shows sites/domain/files/image I need to change the /domain/ to /default/

nevets’s picture

That is a relative path, you are just moving it, you can use an SQL Update to change the path using 'Replace'.

rekoyunasril’s picture

Version: 6.x-2.9 » 7.x-2.x-dev