PDA

View Full Version : Path system setup, question


Bcaps
29th of November 2003 (Sat), 13:29
In the instructions for the path system setup it gives the example for the "size path for small" as http://www.yoursite.net/gallery/photos/small/

All previous instructions always referenced the gallery as in all caps (GALLERY). I notice that on my server I now have two "gallery" folders, one in all caps and one not (www.mysite.com/GALLERY and www.mysite.com/gallery).

Which one do I use when setting up the Path System Setup?

In my FTP server setup I see that my test folder is /www/gallery/test, and my EE Home FTP server ends with /GALLERY

I'm a little confused with what to use where. The "GALLERY" folder has all of the files/folders in it (add, ee, styles, etc) while the "gallery" folder only has a "test" folder and no files in it.

Pekka
29th of November 2003 (Sat), 14:07
In Unix file and folder names are case-sensitive. Windows does not care about case.

So, usually in servers "gallery" and "GALLERY" are different folder names. EE instructions should not be taken so that you will need to make a folder named "GALLERY" or "gallery", you can choose whatever name you need (e.g. photos, media, ee, images, exhib, art, photography) but the important thing is that you stick to that name after you have fixed it.

Name is visible in your gallery url, so for example http://www.mysite.net/my_cool_photo_gallery may not be the best choice to type on daily basis.

EE will automatically create missing folders on ftp test and on upload, so if you one time entered as test path "/www/gallery/test" then folders "gallery" and "gallery/test" were created while test was in progress.

EE is very free when it comes to configuration. You can place images in any number of servers and folder all around the world if you like, but on the beginning it is wise to keep things simple so that you do not loose track where everything is and should be.

So if you EE is in /GALLERY then put your photos in /GALLERY/photos/normal
/GALLERY/photos/big
/GALLERY/photos/small
/GALLERY/photos/thumbs
/GALLERY/photos/microthumbs

That's the easiest choice.

Bcaps
29th of November 2003 (Sat), 14:12
got it, thanks!