Page 1 of 1

loading image from different servers

Posted: 30 Apr 2007, 19:41
by Depeche mode
Hi,

i have a question about Imagevue Gallery, i would like to load images from different servers since i have a small webspace.

what i mean is

i have upload the Imagevue Gallery to my server but if i share more then 100 images then i have not enough space for other stuff. is it was possible to load images form other directory on different servers.


thanx

Re: loading image from different servers

Posted: 02 May 2007, 00:13
by mjau-mjau
Depeche mode wrote:i have upload the Imagevue Gallery to my server but if i share more then 100 images then i have not enough space for other stuff. is it was possible to load images form other directory on different servers.
You can combine 2 servers to host Imagevue, but the server where the images are, needs to include the Imagevue gallery and also support Imagevue/PHP. You then need to use the globalpath parameter to forward a path to the imagevue gallery folder on the remote server. Something like:
Code
globalpath = http://remoteserver/imagevue/
You must also use crossdomain.xml to allow primary server to communicate with the secondary server. Read more on crossdomains here: http://www.adobe.com/cfusion/knowledgeb ... d=tn_14213

Posted: 02 May 2007, 07:09
by Depeche mode
what do you mean with
You can combine 2 servers to host Imagevue, but the server where the images are, needs to include the Imagevue gallery and also support Imagevue/PHP
can you tell more please

Posted: 03 May 2007, 03:43
by mjau-mjau
yourdomain.com/index.php
anotherserver.com/imagevue/


The first server could host the page/site, and the second server could host the gallery and its files. In the index.php on your primary site, you would simply forward a parameter
Code
globalpath = http://anotherserver.com/imagevue/

Posted: 03 May 2007, 05:47
by Depeche mode
mjau-mjau wrote:yourdomain.com/index.php
anotherserver.com/imagevue/


The first server could host the page/site, and the second server could host the gallery and its files. In the index.php on your primary site, you would simply forward a parameter
Code
globalpath = http://anotherserver.com/imagevue/
this is not actually what i mean. what i mean be different servers since and diffent folders is:

for example i have 3 categories in main menu.

folder 1 ..... load images form a folder in server 1...
folder 2 ..... load images form a folder in server 2..... 3 different servers
folder 3 ..... load images form a folder in server 3....

linking servers to the front page/main server with a xml could be nice

Posted: 03 May 2007, 10:21
by mjau-mjau
As I tried to explain to you in my first reply, you can not simply use folders only on external server. The server where the images are hosted *must* support Imagevue and php. How else is the Imagevue setup able to read images in a folder? PHP can not run read or write actions on remote servers.

So the answers -
1. Yes, you can run your imagefolders on another (a remote) server. However, this server must also support PHP and have the Imagevue script uploaded.

2. No, you can not simply use Imagevue to read independant image folders on remote servers. Thats impossible unless you want to create XML entries for every single image.

3. Even if it was possible like you say, you can not create a path to an external server for each of your gallery folders in Imagevue.

4. If you are to use option #1, then you must make sure crossdomain.xml is set up on the remote server.

Posted: 05 May 2007, 15:23
by Depeche mode
well then the answer 2 is the solution to my problem... answer 2 doesnt need php support i guess?