Somewhere on the internet I host several Gallery instances for myself and others, to be able to easily show pictures to others. Hence the reason for me setting up a G2 after it came out. The gallery2 instances served me from the beginning till now, on both Apache servers as Nginx servers. Now that G3 has beta1 out, I decided to give my own set of ~7000 pictures (16gb) a go. I replaced the instance and got a working setup. I cannot seem to create a new album yet to import some missing pictures (that I never uploaded to G2). But all with all. G3 seems to be lightweight and working properly. test it :)

The only thing that I needed to add to nginx.conf btw is:

if (!-e $request_filename) {
rewrite ^/path/to/index.php/(.+)$ /path/to/index.php?kohana_uri=$1 last;
}

and it works out fine. Compared to:

location /v {
rewrite ^/v/(.*)$ /main.php?g2_view=core.ShowItem&g2_path=$1 last;
}
location /d/ {
rewrite ^/d/([0-9]+)-([0-9]+)/(.*)$ /main.php?g2_view=core.DownloadItem&g2_itemId=$1&g2_serialNumber=$2&g2_fileName=$3 last;
}
location /rss/ {
rewrite ^/rss/(.*)$ /main.php?g2_view=rss.Render&g2_name=$1 last;
}
location /srss/ {
rewrite ^/srss/(.*)$ /main.php?g2_view=rss.SimpleRender&g2_itemId=$1 last;
}
location /c/add/ {
rewrite ^/c/add/([0-9]+).html(.*)$ /main.php?g2_view=comment.AddComment&g2_itemId=$1 last;
}
location /c/view {
rewrite ^/c/view/([0-9]+).html(.*)$ /main.php?g2_view=comment.ShowAllComments&g2_itemId=$1 last;
}
location /admin/ {
rewrite ^/admin/(.*)$ /main.php?g2_view=core.SiteAdmin last;
}

for Gallery2, this made it easier :)

Tagged with →  
Share →

4 Responses to Gallery2 to Gallery3

  1. Hello remko, last time I checked there were still many useful G2 features that were not yet implemented (or even planned) in g3, has the situation evolved somewhat?

    Cheers. Ollivier

    • Remko says:

      The things that I use are implemented, but perhaps you can give me a short summary of what you tend to miss so that I Can check that for you?

      Cheers,
      R

  2. Anil Garg says:

    Hi – where do you have the G2 and G3 sites implemented. I wanted to see how they compare from a visitors perspective.
    Many thanks.

  3. Remko says:

    Hello,

    I no longer run gallery2, only gallery3, all galleries that I host, or hosted, are in a private space, so I cannot show you the results.

    Best regards,
    Remko

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>