Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    24
    Member #
    10082
    should i put shared images to different pages in one image folder or should i put a copy of the image in a folder to each page. could i have a image folder for page elements and a image folder for products and so forth any knowledge would be appreciated thanx I am designing a ecommerence site

  2.  

  3. #2
    Member cladode's Avatar
    Join Date
    Feb 2005
    Posts
    49
    Member #
    9073
    You can have your files in as many or as little folders as you like. It's simply personal preference.

    Quote Originally Posted by paulbailey
    could i have a image folder for page elements and a image folder for products and so forth
    That would work fine!

  4. #3
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    My own recommendation would be to make the site as structured as possible. In terms of paths to includes and images make them absolute; that way if you wish to move pages at a later time to a different directory in the structure you can do it without thinking.

    In other words....
    <root>/images -> images here
    <root>/includes -> includes here (ie. SSI, CSS, Javascript)

    And whenever you include an image <img src="/includes/myimg.jpg" />

    I would also consider giving each specific content area its own directory; so also...

    <root>/news
    <root>/contact
    <root>/blog
    <root>/about

    ...enables you to say to folks "go to http://mysite.com/news" or set up a subdomain news.mysite.com... rather than "go to http://mysite.com/news.html" or similar which, imho, never looks as good.

    Sean


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:29 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com