User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » HELP! Dreamweaver content. Page [1]  
phaeton
Veteran
238 Posts
user info
edit post

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

lewisje
All American
9196 Posts
user info
edit post

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

Noen
All American
31346 Posts
user info
edit post

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

BigMan157
no u
103354 Posts
user info
edit post

you can you do a site-wide find/replace

3/18/2013 4:36:53 PM

phaeton
Veteran
238 Posts
user info
edit post

^ 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

darkone
(\/) (;,,,;) (\/)
11610 Posts
user info
edit post

Sounds like someone needs to learn their ass some regular expressions.

3/18/2013 6:26:20 PM

kiljadn
All American
44690 Posts
user info
edit post

regex is a ridiculous response in the context of this thread, fwiw

i 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

darkone
(\/) (;,,,;) (\/)
11610 Posts
user info
edit post

^ 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

kiljadn
All American
44690 Posts
user info
edit post

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

BigMan157
no u
103354 Posts
user info
edit post

you can, it's an option

not required though

3/19/2013 10:41:39 PM

Str8BacardiL
************
41753 Posts
user info
edit post

just write your site in CrazyCode

3/19/2013 11:13:29 PM

lewisje
All American
9196 Posts
user info
edit post

no use sass

3/19/2013 11:16:46 PM

 Message Boards » Tech Talk » HELP! Dreamweaver content. Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.