Link to full size photos

kyle1745

Joined: 2002-09-06
Posts: 68
Posted: Mon, 2005-11-21 03:40

I am trying to post links to some of my full size photos in some forums and it does not seem to work. I can do it local but it does not work in the forums like it used to with G1. I can not use the mod_rewrite due to using multisite. I have also found some info stating that it might just require a permission change, but to what?

Any ideas?

Thanks,
Kyle

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-21 09:59

without mod_rewrite (short urls), you don't get urls that look like normal image urls, thus some forums won't accept these urls as img urls.
you can put g2data in your webroot and link directly to g2data/albums/ .. filename though, but then, everyone can see all your photos, whether you mark them as private or not in g2.

 
kyle1745

Joined: 2002-09-06
Posts: 68
Posted: Mon, 2005-11-21 11:23

So let me ask this then can you still run gallery 2 like 1 with seperate instances of each? I do like the multi site idea but it is lack a good deal. I am also wondering how I get it out of multisite mode.

Thanks for the ideas,
Kyle

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-21 12:22
Quote:
So let me ask this then can you still run gallery 2 like 1 with seperate instances of each?

you can run multiple g2 installs on the same server. you don't have to use the g2 multisite feature, it's just an option.
if you don't use multisite, copy the whole gallery2 folder for each new install.
with multisite, you save the diskspace required for a full copy of gallery2.

 
kyle1745

Joined: 2002-09-06
Posts: 68
Posted: Mon, 2005-11-21 22:04

Ok makes sense but how do you get out of a multi-site setup and back to single site. I would assume some files just need moved around.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-11-21 22:47

what exactly do you want to do?

as far as i understand, you already have a multisite installation and you'd like to change it to a normal installation.
correct?

if so, copy the whole gallery2 codebase folder to your multisite directory.
keep:
- g2data
- config.php
- .htaccess
from your multisite, replace everything else.
finally, set $gallery->setConfig('galleryBaseUrl', ''); in config.php (replacing $gallery->setConfig('galleryBaseUrl', 'whatever was here before');)

 
kyle1745

Joined: 2002-09-06
Posts: 68
Posted: Mon, 2005-11-21 23:19

Thanks I will try that and see what I get.