by jim25
5 replies
  • WEB DESIGN
  • |
Im having a problem with a DW template. I created a page, saved it as a template, but when I create a new page from template my images disappear. Really frustrating, I'm sure its something simple but can't put my finger on it
#problem #template
  • Profile picture of the author Jaswinder Singh
    Hello ya this is a minor problem don't panic just check it out that you have saved that template in right extension or not because sometimes wrong extension is not supported by photoshop.
    {{ DiscussionBoard.errors[2759441].message }}
    • Profile picture of the author jim25
      Its not a photoshop template its dreamweaver the extension is .dwt
      Signature

      {{ DiscussionBoard.errors[2777342].message }}
  • Profile picture of the author promo_guy
    Hmmm...not sure but it sort of sounds like the path to the images folder might change? I don't know, I code by hand now so I haven't used DW in 2 or 3 years. I don't think I've ever dealt with a .dwt extension either, always html/htm/php

    Does your path-to-images look the same from one page to the next?
    {{ DiscussionBoard.errors[2777724].message }}
    • Profile picture of the author jim25
      .dwt is the deamweaver template extension. I think it is a image path problem. In the site settings should I have the path set to relative to document or site root?
      Signature

      {{ DiscussionBoard.errors[2782384].message }}
  • Profile picture of the author promo_guy
    Hi Jim

    Since I'm not used to dealing with dreamweaver templates, I'd give it a try both ways. But, my feeling is set it to the document root since the document is going to be on your local machine.

    Assuming that works, then try uploading the template to your domains (or a test domain) and see if the image problem persists (on the live site itself). If it does, make sure when you look at the source code it doesn't say something like:

    <img src="C:\document_root\....." or whatever since once it's live on a site, you should have something like <img src="images/image.jpg"....

    assuming you have an images folder of course

    hope that helps....someone else familiar with dwt may be of more assistance but I'd try both
    {{ DiscussionBoard.errors[2782430].message }}

Trending Topics