• I’ve run across a problem getting to work at the most basic level. I’ve simply tried to add a gallery to a post as per the examples listed on the sample blog and no luck. It seems to be making at least 1 assumption, if not more.

    First, lib/nggallery.lib.php:732 is not using siteurl as it should:

    $url = get_option('home'). "/". $this->slug;

    Then the URL comes out looking like this:

    http://s1n.dyndns.org/nggallery/page-568/album-1/gallery-3/

    This assumes I have my wordpress install set to the docroot, which is not the case. Playing with this line of code, I can correct it to this:

    $url = get_option('blogurl'). "/index.php/". $this->slug;

    That at least shows the gallery when clicked, but not much else is working.

    Here’s an example with the upstream code:

    Broken Album Example

    Notice the URL there is different than what NextGen seems to be expecting. If anyone needs to see the contents of my NextGen tables, I’m happy to provide that as well. I’m self hosting (obviously) and I don’t keep my blog under docroot. If anyone has any ideas, I’m all ears.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Nextgen only supports mod_rewrite. The PATHINFO will not work

    Thread Starter s1n

    (@s1n)

    Well, I was just fiddling with it. I’m not much of a web developer. I didn’t setup a a rewrite rule (hosted via lighttpd). The default generates the path that I mentioned first.

    The URL is not coming out right with the default settings. Do I need to setup a rewrite rule (I ask because there’s no documentation about this).

    Turn of permalinks in the gallery options

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: NextGEN Gallery] Incorrect Album/Gallery URL’ is closed to new replies.