Jump to content

Image Organization For Subdomains


Boojum
 Share

Recommended Posts

The new version of my site (soon to be uploaded) contains five subdomains in addition to the primary domain. Additionally, some of these are in turn divided into multiple subfolders.

 

I created an "images" folder for each subdomain and each subfolder, with the expectation that I'd place a separate set of images in each as required by the pages therein.

 

However, I have found substantial overlap, and also find as a result that every time I add or update an image, the change must be reflected in many folders--which is a time-devouring pain.

 

My question: Can I consolidate all the images into one "images" folder on my primary domain, and then use absolute URLs (e.g.: "http://www.squort.com/images...") to call them up for my pages? Or is there some reason why in fact I have to keep 15 separate "images" folders?

Link to comment
Share on other sites

Hi Boojum,

 

Personally, as you suggest, I would put all the common ones into a single images directory, and then use an absolute URL to get to them. Images which are not common across several subdomains I would place in their own subdomain images folder.

 

I see no benefit otherwise in keeping 15 seperate "images" folders.

 

Andy

Link to comment
Share on other sites

Thanks, Andy.

 

But is there any advantage, given the added complexity of site maintenance required, in even having the additional "images" folders?

Link to comment
Share on other sites

You will not be able to use Hotlink Protection if you use only one images folder. If that's not a problem for you then using a single folder makes much more sense than duplicating content across several.

Link to comment
Share on other sites

The only advantage to separate folders is when (or IF) you want to remove a subdomain or subfolder. It is very easy to just delete the individual image folder. If all images are in one folder you will need to identify which ones to remove.

 

Otherwise you end up leaving them and wasting space

Link to comment
Share on other sites

Thanks.

 

I think I will go over to the one-"images"-folder solution for now at least.

 

Since mine is not a graphics-oriented site, I don't currently anticipate a hot-linking problem--although I would like to know for future reference how to detect such activity.

 

And for right now at least, I do not foresee the likelihood of my removing subdomains; if anything, I am likely to add more. :shutup:

Link to comment
Share on other sites

Hmm.

 

Sudden concern about using absolute URLs for my images: Won't that require that I upload all the images before I can view my pages? And if so, won't that make preflighting pages much, much harder? :D

 

(The scary thing is that I didn't think of this at first. :shutup: )

Link to comment
Share on other sites

Madmanmcp:

 

Before uploading any of my pages, I like to "preflight" them--to examine them from my hard drive so they look right before I upload them and their associated images.

 

(One possible workaround did occur to me: Since the old version of my site [the one currently on the web] has its images loose rather than in an "images" folder at all, I could, if no better idea presents itself, upload the entire "images" folder--which will not be "noticed" by anyone viewing the current pages--and then call on that. But this seems a bit awkward. :shutup: )

 

Does anyone have any more elegant solutions, or am I stuck with my clunky workaround?

Link to comment
Share on other sites

I always check my pages "offline" and I never have the problems you seem to be having

 

The whole trouble here is specifically that I can't check my pages offline if the images are in an online folder, and the only way to have an online "images" folder is to upload my images separately from the pages themselves--rather an awkward solution.

 

Any suggestions, anyone?

Link to comment
Share on other sites

You could use a web server package - Abyss is one for Windows, I don't know about Macs. Then your computer becomes a web server that can access others with absolute URLs if you wish.

Link to comment
Share on other sites

"Abyss Web Server is a free personal web server for Windows, MacOS X, Linux, and FreeBSD."

 

Exactly my luck: I have Mac OS 9. :lol:

 

Oh, well. I have to do something, so I'll just go with my workaround unless someone has an inspiration.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...