Setting up your Image Collection Area
Main PageWeb Server Scenario
Document Not Complete or Validated
- an option when setting up your image directories is to manually organize your personal (non web) image directories in the same layout as used for the web.
this can make adding images down the road very simple because everything is laid-out the same, and opens up some ftp mirror options for those using a separate web server - More Information on Image File & Directory Layout (link)
All on your Personal Computer
Assumptions:- web service runs locally
- your image collection in a browser is /My_Photos
- this can be viewed in "View System Details" as "Top Collections Directory"
- the Images Directory inside the Collections or Albums is called 'images'
- this can be viewed in "View System Details" as "Images Directory"
- all steps performed as 'root'
Note:- you can create Collections with or without Albums in them.
- you can not mix Album and non-Album formats within a single Collection
- in all cases, all image files (jpg files) must be kept in a subdirectory named the same as "Images Directory" (see above). Do not change this.
Steps:- Creating Collections or Albums by either:
- using the "Create New Collection and Album" tool
- the images subdirectory is created and all permissions are set
- only one Collection/Album set can be created at a time, but you can continue within the tool without exiting
- you cannot create a Collection without an Album. The tool is really for making Albums and allows you to create it in a new Collection if desired
Or
- manually create the Collection and Album sets
- when creating several Collections with multiple Albums in them, this method can be faster than using the web based tool
- allows Collection without Albums, see note at top regarding "Images Directory"
- set the new Collections and subdirectories to be managed by the web server
example here, from the top of the images area "/My_Photos", after adding a Collection named "Horses", with web-service user named "apache"chown -R apache My_Photos/Horses
- there is no harm in running this over the entire image collection area
chown -R apache My_Photos/
- using the "Create New Collection and Album" tool
Adding Images- rsync, ftp or scp files
- copy your images into the web server area
cp -a images_4_web/* /var/www/html/My_Photos/
TOP
A Personal Computer and a Home Web Server
Assumptions:- web service runs on a separate machine (physical or virtual) and you have 'root' access
- your image collection in a browser is /My_Photos
- this can be viewed in "View System Details" as "Top Collections Directory"
- the Images Directory inside the Collections or Albums is called 'images'
- this can be viewed in "View System Details" as "Images Directory"
- all steps performed as 'root'
Note:- you can create Collections with or without Albums in them.
- you can not mix Album and non-Album formats within a single Collection
- in all cases, all image files (jpg files) must be kept in a subdirectory named the same as "Images Directory" (see above). Do not change this.
Steps:- Creating Collections or Albums by either:
- using the "Create New Collection and Album" tool
- the images subdirectory is created and all permissions are set
- only one Collection/Album set can be created at a time, but you can continue within the tool without exiting
- you cannot create a Collection without a Album. The tool is really for making Albums and allows you to create it in a new Collection if desired
Or
- manually create the Collection and Album sets
- when creating several Collections with multiple Albums in them, this method can be faster than using the web based tool
- allows Collection without Albums, see note at top regarding "Images Directory"
- set the new Collections and subdirectories to be managed by the web server
example here, from the top of the images area "/My_Photos", after adding a Collection named "Horses", with web-service user named "apache"chown -R apache My_Photos/Horses
- there is no harm in running this over the entire image collection area
chown -R apache My_Photos/
- using the "Create New Collection and Album" tool
- Adding Images
- rsync, ftp or scp files
- copy your images to the web server into the photo area
scp -r images_4_web/* myserver:/var/www/html/My_Photos/
TOP
A Web Server at a Hosting Service
Assumptions:- web service runs remotely and is accessed through a Web interface or via ftp
- your image collection in a browser is /My_Photos
- this can be viewed in "View System Details" as "Top Collections Directory"
- the Images Directory inside the Collections or Albums is called 'images'
- this can be viewed in "View System Details" as "Images Directory"
- all steps performed as your FTP user. This is normally the default or only option, and permissions are a concern
Note:- you can create Collections with or without Albums in them.
- you can not mix Album and non-Album formats within a single Collection
- in all cases, all image files (jpg files) must be kept in a subdirectory named the same as "Images Directory" (see above). Do not change this.
Steps:- need to use ftp service
- there should be no ownership issues
-
TOP