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.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-2008, 03:19 PM
carduus
 
Posts: n/a
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??

Reply With Quote
  #2 (permalink)  
Old 09-29-2008, 04:03 PM
Derek @ Bl;ueyonder
 
Posts: n/a
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



Reply With Quote
  #3 (permalink)  
Old 09-29-2008, 06:00 PM
Sean DeMerchant
 
Posts: n/a
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.


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


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

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



All times are GMT. The time now is 07:19 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Debt Help | Gas Suppliers | Credit Cards | Bleach 149 . Bleach 150 | Mortgages



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114