View Full Version : struggling with paths and sizes editor
chriz
28th of July 2003 (Mon), 12:49
I installed 1.5 beta yesterday and it all works flawlessly.
Except that I cannot get to grips setting up the paths in the path editor
Here are the details:
EE is installed as a subdomain under http://ee.photoplus.nu
FTP-server is ftp.photoplus.nu
EE Home ftp server...
path to ee is /public_html/ee/
testing this gives all green OK's
FTP servers
local (same settings as exhibitserver/
exhibit server test folder is:
/public_html/ee/input/UPLOAD
testing this gives all green OK's
So, I guess above should be OK ?
NEXT
There are three size paths: normal, big, small
http://ee.photoplus.nu/albums/album1/small/
and FTP Server exhibitserver, FTP folder is:
/albums/album1/small/
same for the other sizes
Thumb paths:
http://ee.photoplus.nu/albums/album1/thumbs/
Relative path:
../albums/album1/thumbs/
FTP folder:
/albums/album1/thumbs/
Microthumb paths:
http://ee.photoplus.nu/albums/album1/microthumbs/
Relative path:
../albums/album1/microthumbs/
FTP folder:
/albums/album1/microthumbs/
DOES NOT WORK
I tried seveal settings, .. hélas ..
ANY ideas ???
CHRIZ
Is there a manual just explaining paths ?
Pekka
28th of July 2003 (Mon), 14:03
Try removing the slash from end of /albums/album1/thumbs/
to
/albums/album1/thumbs
or try ftp path
/public_html/albums/album1/thumbs
Some things to test:
1. test that path is accessible from html browser:
Place an image into path using ftp and access it using browser. E.g. if your path is
http://ee.photoplus.nu/albums/album1/small/
and image is
test.jpg
type into your browser
http://ee.photoplus.nu/albums/album1/small/test.jpg
If you see the photo, EE will see it too. If you don't, check that this path is UNDER www root in your webserver and that it has permissions for public view.
2. If above test is ok, then see that ftp works using ftp server setup page. You've done those, so next step is:
3. How to know the ftp paths? You set
/public_html/ee/
in ftp server test page and it worked. Then I really don't see why your size paths do not have same root (they are in public part of server, right?):
/public_html/albums/album1/small
Best way to make sure is to ftp there normally and give pwd command which shows you path to directory you are in at the moment. So if you browser to
ee.photoplus.nu/albums/album1/small/
using any ftp program (I recommend SmartFTP as it has commandline input, too) and give command 'PWD' (without quotes) you'll see if the path EE expects to see in path editor page is e.g.
/public_html/albums/album1/small
----------------
About size paths:
In EE 1.5 you can just deal with them as server folders for different image sizes. Set them up and forget it. Do not change them after your gallery is running and full of images unless you know exactly why and what your are doing.
The size paths make possible to distribute server load by keeping different image sizes on different servers. They also make it easy for popular sites to keep "backup servers" and by changing the paths set the gallery to point to new servers.
chriz
29th of July 2003 (Tue), 04:11
Hello Pekka,
I got it working, thanks.
By the way, are the paths (big, small, normal, thumbs, microthumbs) the same for all the exhibitions ?
Regarding ee-commerce:
Do you have some text, manual, general explanation about how to use it ?
Chriz
Pekka
29th of July 2003 (Tue), 04:45
chriz wrote:
Hello Pekka,
I got it working, thanks.
By the way, are the paths (big, small, normal, thumbs, microthumbs) the same for all the exhibitions ?
Each exhibition has a fixed thumb path and fixed microthumb path. Those should be on SAME server as EE so that they can be reached by relative paths.
Size paths can be ANYWHERE in internet and each photo in ANY exhibition can use ANY size path or combination of them. On upload page you can mix GD and IM methods freely for same image.
Usually there is no need to set more than e.g. 5 sizes.
But you can use them in any way you desire. I just give the "tools". At first it may be wise to keep it simple and after time your requirements may change you can start doing more complex path arrangements.
Size path with variable name "default" will be the first of server if user has not chosen otherwise. If default is not found then EE seeks for each size path for first existing size.
With EE 1.5 your file names should be different for each image (technically this is possible in EE but keeping this rule with 1.5 makes sense when you start doing delete and copy operations and using same size paths for hundreds of photos).
Regarding ee-commerce:
Do you have some text, manual, general explanation about how to use it ?
Do search in this board for "ee commerce" and you'll see some messages of that.
Here's one explanation:
http://photography-on-the.net/forum/showthread.php?t=7755#35022
Daniel_Borek
8th of August 2003 (Fri), 13:55
---woops
Thought I was in this (http://photography-on-the.net/forum/showthread.php?t=14196&page=3) thread. The post is there now.. :-)
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.