How can I install/configure my Gallery2 to work properly with the server URL?

If you want to be able to access your Gallery2 through the server's URL, you have to edit the main configuration file, which is config.php and it is located into the main Gallery2 directory. You can edit the file using the File Manager in your cPanel. Once you open the file in edit mode, you have to replace the following line:

$gallery->setConfig('galleryBaseUrl', '');

with this one:

$gallery->setConfig('galleryBaseUrl', '');

where "" has to be replaced with the hostname of your server, and "gallery" - with the name of your gallery's root directory.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to reset my Gallery 3 administrative password

If you have forgotten your Gallery administrative password and want to recover it, you can use...

How to clear Menalto Gallery2’s cache?

The first thing to do when troubleshooting Menalto Gallery2's problems is to clear its cache....

Gallery cannot generate thumbnails

After you upload a picture to your Gallery, it is possible to experience problems with the...

Gallery navigation hacks

Imagine you'd like to insert a custom code in Menalto Gallery2 that should show on each page. If...

Gallery resources.

The official Gallery website. The official Gallery documentation. The official support forum...