Attached is a script I use to update links when I move the site from one server to another (dev -> production). You should be able to modify it to change img src.
I put it in farcry_core/admin/admin then created a link in Admin -> general section. On Tue, 16 Nov 2004 12:53:27 -0500, Jeff Coughlin <[EMAIL PROTECTED]> wrote: > Nick DeSteffen wrote: > > > > So am I going to have to re-add all the images to pickup this change? > > If so is there a way to change them all at once as we have several 100 > > images and I don't really wanna go through and re-upload all of them. > > I could be wrong, but being that you are changing a setting in the > soEditor config it sounds like you'll only have to edit the dmHTML > objects (or any object you used to edit using soEditor) and delete the > "reference" to the image object (meaning delete the image from the > soEditor window) and reinsert them (not the actual image files themselves). > > Don't quote me on this though (I hope I'm not way off base here). I'd > try making the change he suggested and adding/editing an image to a > dmHTMl object and see if that's what he was referring to. If it is and > you only have a few to edit, I'd just edit them manually. If there are > too many references, then yes you could write a script to replace all of > the effected incorrect image references. But before you take that > avenue I'd try to change the config as he suggested and see if you can > get it to work correctly in at least one dmHTML object (so you'll know > the change works before wriing the script). > > Regards, > > -Jeff C. > > --- > > > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ >
fixLinks.cfm
Description: Binary data
--- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
