We've got a system where we use a script to copy a new multisite installation into its own sites folder with its own database etc. Works great - and our catalog system uses imagecache to create the image files and store them.
By default, the copied sites show the images of the original site perfectly, and I change the filesystem path so that new images are simply uploaded to the copied site's own folder. The problem comes with 1.) If you flush the imagecache images from teh main site, that site will regenerate the images fine, but the copied sites are broken and can't the original files to "regenerate" and 2.) If you delete an image off the copied site, it takes the original image away.
Is there a way to get these copied sites to be able to look back to the original files folder root for the images to regenerate from in this worst case scenario of flushed images? And how about the second issue of deleting a file from a copied site?
Any ideas or suggestions would be welcomed :)
Comments
Comment #1
digitalfrontiersmediaI know this is an old thread, but adding this in case it helps someone. This problem was likely caused by the file paths on the images still retaining the old paths in the db. Try this:
#371195-91: Images being created in the wrong folder