Hey guys,I'm working on my portfolio site in Dreamweaver. The site is pretty much finished, but as it is my site images are linked from numerous locations on my computer. Is it possible to copy all these linked images to a single folder and relink them automatically? Seems like such a simple thing, but I can't find anything Googling around the web. Any help would be greatly appreciated.I could even aggregate all of the linked images myself, but relinking them manually is really something I'm trying to avoid.
3/18/2013 3:39:11 PM
If you used relative URLs, like "images/header.png" (relative to directory) or "/portfolio/images/header.png" (relative to document root), and all images are within the document root, just replicate the directory structure on your server.If the images were linked from outside the document root (the directory where "index.html" is located), you will unfortunately need to move them inside the root and manually re-link them; for example, if you had been maintaining the site at C:\Users\phaeton\Dreamweaver\portfolio\ but some images were in C:\Users\phaeton\Pictures\, you'll need to copy the images into the document root and re-link them manually.
3/18/2013 4:14:27 PM
Speaking from experience, you're going to have to move all the images to a folder within the site hierarchy, then relink them.
3/18/2013 4:34:32 PM
you can you do a site-wide find/replace
3/18/2013 4:36:53 PM
^ I ended up consulting a friend and he suggested that method. Did that for everything and then relinked site assets individually.Thanks for the suggestions, guys.
3/18/2013 4:42:06 PM
Sounds like someone needs to learn their ass some regular expressions.
3/18/2013 6:26:20 PM
regex is a ridiculous response in the context of this thread, fwiwi agree that regex is useful but sitewide find/replace is built into DW, so you get a "c'mon man"
3/19/2013 5:11:37 PM
^ Won't one need the regex to handle the changing the variable file paths to a common file path?
3/19/2013 7:30:58 PM
Not in Dreamweaver.Maybe in Sublime Text 2 or something, but Dreamweaver doesn't search w/ regex as far as i remember.
3/19/2013 9:29:14 PM
you can, it's an optionnot required though
3/19/2013 10:41:39 PM
just write your site in CrazyCode
3/19/2013 11:13:29 PM
no use sass
3/19/2013 11:16:46 PM