Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 30th, 2008, 12:43 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dreamweaver MX & Fireworks

Hey everyone,
Nice to meet you all, I'm new to the web-design thing and I could really use some help, I appreciate any kindness and guidance.

I'm running into a problem that I'm hoping some of you super-smart cats can help me out with, I'm sure it's common for beginners.

I'm designing and slicing my web site pages using Fireworks MX 2004 (I know, I'm old), and exporting the html and images to a folder (called "site_root") on my hard drive. When I preview in browser, it's all fine.

When I go to open the html pages in Dreamweaver, everything is fine as well. I add my additional tables and center the page, then save it. I also preview in browser here as well, it's all fine.

The PROBLEM is when I go to .zip-compress my "site_root" folder to e-mail to my client, when he unzips the folder, all of the image links are broken

Can anyone please tell me what I'm doing wrong? I'm kind of lost and confused at this point...

I thank you so very much for your help, I look forward to speaking with some of you. Please take care.

-Kasgre01

Reply With Quote
  #2 (permalink)  
Old March 30th, 2008, 01:55 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Maybe you are not doing anything wrong, but your client may. From what you told us, it looks like your images are in a sub folder relative to the HTML document. E.g.:

  Index.html
 - Images
     SomeImage.gif
     SomeOtherImage.gif

Within the HTML document, you refer to the image as <img src="Images/SomeImage.gif" />

Then maybe when your client extracts things, they end up as:

  Index.html
  SomeImage.gif
  SomeOtherImage.gif

E.g. without the extra images folder, which causes the references to be broken So, tell your client to extract with the option to maintain the directory structure.

Alternatively, make sure you use relative paths, as in my example above, and not:

<img src="C:\Documents and Settings\You\Desktop\Images/SomeImage.gif" />

My books Beginning Dreamweaver MX / MX 2004 go into this a lot deeper.

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #3 (permalink)  
Old March 30th, 2008, 02:53 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar!
Thank you for the swift reply good Sir, it is an honor to speak with you! Thank you so much for the information, I am extremely grateful to you.

Okay, so is there an option somewhere to ensure that my client can 'extract w/ option to maintain directory structure'? Is it on the .zip program (winzip) itself?

My workflow: The way that my client and myself have been trading files is to place them on an ftp storage; then when I'm done and upload them to the storage, he downloads the .zip file from there. I told him to just my folder to the desktop, is this incorrect for me to suggest?

I have you Dreamweaver MX 2004 book, which section (if you can recall any particular place:D) should I refer to? I will be sure to go over it with a fine-toothed comb.

You rock Imar! Many thanks!

-Kasgre01

Reply With Quote
  #4 (permalink)  
Old March 30th, 2008, 03:48 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Kasgre01,

When using WinZip you find an option called Use folder names on the Extract dialog. To get there, double-click the ZIP file, select all files you want to extract, choose Actions | Extract and then you see the option. Make sure it's checked.

I don't know if "to just my folder to the desktop" is the right thing to do. First of all, there seems to be missing a verb ;) Secondly, it all depends on the client, the way you pack and he unpacks the files and the way the site is structured.
Bottom line: you need a good structure and you need to make sure you transfer the structure together with the actual files.

Check out pages 122 and onward; they deal with root- and document-relative paths and URLs.

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #5 (permalink)  
Old March 30th, 2008, 04:02 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Oops! I'm SO sorry, I meant "just DRAG my folder to your desktop" hahahaha:D! My apologies Sir, please forgive my typing error.

I'll check out the section right away! Thank you for the guidance and insight, your help is a real blessing. I will let you know if I run into any further issues, please take care, and again, MANY thanks.

-Kasgre01

Reply With Quote
  #6 (permalink)  
Old March 30th, 2008, 10:47 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I have one more question for you! What if the client isn't using winzip to download the .zip file folder I e-mail to them? Like if they were using a mac, how would they go about retrieving the files so that they download in the proper order w/ everything in tact?

BTW, I tried what you told me to do with the winzip setup earlier, and it worked! Thank you!

-Kasgre01

Reply With Quote
  #7 (permalink)  
Old March 31st, 2008, 07:12 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:Like if they were using a mac, how would they go about retrieving the files
I don't know. That depends on the tools they are using to extract the files. However, most files do this by default so you may want to check if that is even the problem.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #8 (permalink)  
Old March 31st, 2008, 01:56 PM
Registered User
 
Join Date: Mar 2008
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Thanks for the reply once again.

Okay cool, it seems to have worked out for them on their end at any rate. So all is well. Your knowledge has been indispensible good Sir.

Do you have snail mail address that you could e-mail me? I 'd like to send you a t-shirt (what size?) I designed, as a gift just to say thank you. I would've be stuck without your help, it's the least I can do.

-Kasgre01

Reply With Quote
  #9 (permalink)  
Old April 1st, 2008, 12:00 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Kasgre01,

Much appreciated.....

Send me an e-mail through my Profile page (click my name on the left) and I'll send you my address.

Cheers,

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade Dreamweaver MX malachany Dreamweaver (all versions) 2 December 11th, 2004 03:01 PM
Dreamweaver MX & Firefox 1.0 Compatibility teldridge Dreamweaver (all versions) 3 November 18th, 2004 05:20 PM
new to Dreamweaver MX ad04jackal Dreamweaver (all versions) 2 August 10th, 2004 01:20 PM



All times are GMT -4. The time now is 05:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.