How to modify image file/location?
11 posts by 3 authors in: Forums > CMS Builder
Last Post: February 26, 2009 (RSS)
By rasbro - May 16, 2008
Thanks,
Brian
Re: [rasbro] How to modify image file/location?
By Dave - May 16, 2008
So is this for the case where you want to move the uploads folder? Say from /devsite/uploads/ to /newsite/uploads/? Would the program copy the images over or just let you specify their new location or how would it work?
interactivetools.com
Re: [Dave] How to modify image file/location?
By rasbro - May 16, 2008 - edited: May 16, 2008
1) If two records share the same image, or I already had the image uploaded for some reason, why couldn't I just point the second record image (enter the image path) to use the image already uploaded for the first record. Instead like it is now it creates a duplicate of the same image and then adds _001 at the end. I know this may not be common but why not reuse same image instead of having duplicates?
2) I moved some "other" images to a different directory because they made more sense to be separate from the main images. Because of this I would like to simply go in and update those records affected and enter the new path, from /uploads/images/main/ to /uploads/images/other/.
I hope that makes sense.
Thanks,
Brian
Re: [rasbro] How to modify image file/location?
By Dave - May 16, 2008
I'll add these to the feature request list. It sounds like for #1 a global image repository would work? Where you could either upload an image or select one that had already been uploaded?
For #2, would you want to change the path for all the images (such as when you move from staging to live site and directory paths change) or just some? You can currently set a different upload path for specific upload fields.
interactivetools.com
Re: [Dave] How to modify image file/location?
By rasbro - May 16, 2008
For #2 I would probably just change it on some but the option to change it for all, with a global setting that allows you to override individual/custom upload paths to the global path, would be nice.
Brian
Re: [rasbro] How to modify image file/location?
By Dave - May 19, 2008
I put some work into doing replacements on paths in the upload database. The way it works though we'd also need to do search and replaces on ALL the content if uploads moved, because you'll have wysiwyg content that has <img src="/path/..."> tags.
In any case, I'll put those on the feature request list and keep at it. Thanks for the suggestion! :)
interactivetools.com
By paceit - November 9, 2008
Re: [paceit] How to modify image file/location?
By Dave - November 10, 2008
interactivetools.com
How to modify image file/location?
By paceit - February 26, 2009