![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Web Site directories getting too big
The images folder on my site now contains over 3,000 images of wild flowers and
related stuff. These images appear on the relevant but separate web pages of which there are now over 2,000. You find your way round all this using various indexes which point to the folders containing the web pages. The site will get bigger each year and I need to re-structure it for example putting all the images beginning with A in one directory and B in another etc. This is easily done but how can I do this and get Dreamweaver CS3 to update the links - copying and pasting doesn't seem to do it and dragging and dropping prompts for some updated links but not all. Updating over 2,000 pages by hand seem a touch tedious as each one would take about 20 minutes minimum. I don't really think this can be done easily can it?? |
|
|||
|
Re: Web Site directories getting too big
"carduus" <webforumsuser@macromedia.com> wrote in message news:gbqo54$dbo$1@forums.macromedia.com... > The images folder on my site now contains over 3,000 images of wild > flowers and > related stuff. These images appear on the relevant but separate web pages > of > which there are now over 2,000. You find your way round all this using > various > indexes which point to the folders containing the web pages. The site > will get > bigger each year and I need to re-structure it for example putting all the > images beginning with A in one directory and B in another etc. > > This is easily done but how can I do this and get Dreamweaver CS3 to > update > the links - copying and pasting doesn't seem to do it and dragging and > dropping > prompts for some updated links but not all. Updating over 2,000 pages by > hand > seem a touch tedious as each one would take about 20 minutes minimum. > > I don't really think this can be done easily can it?? > Would this not be a very good case for using a database to produce the pages. It would be fairly easy to program it to look in the appropriate folder. So for example if your picture was daffodils upload the file to the D folder and code the database to use the first letter and the folder name. This would then mean that uploading would be easier, once you had made the change you would no longer need to re-code file paths and you would only have potentially one pagew which displays the photo but the database loads the right bits in to it ready to be displayed, i.e. you only have 1 not 2000 pages. Derek |
|
|||
|
Re: Web Site directories getting too big
You can use mod_rewrite ( http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
) on Apache or even a 404 error handler to map requests from http://www.somesite.net/images/foo.jpg to http://www.somesite.net/images/theCo...ectory/foo.jpg or wherever you moved the file to. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|