Gallery1 seamlessly embedded into website + remove login

forchia

Joined: 2009-06-21
Posts: 1
Posted: Sun, 2009-06-21 21:20

Hi and thanks to all the developers and community members as well for such a great gallery manager.
I've searched throughout the forum for a solution to my problem, but unfortunately I couldn't find any.
I'd appreciate any tip in order to fix the following two:

1- I want to embedd a gallery1 (galley 1.5.10) to an existing website of a friend. Turns out that after customizing all the CSS and moving the PHP code to the div that will contain the gallery, the table extend beyond the right side of the div that contains it.
Of course I want it to be constrained into the original div (in order to obtain a seamless mix between the two), with a fixed widht and don't want it to extend out from it.

See

http://www.giusticostruttori.it/in_vendita/albums.php

and check by yourself.

what am I supposed to edit in order to have the table containing the galleries constrained into the div (orange)?

---------------------------------------------------------------------------------------------

2- I want to remove the link to Login to the gallery as an administrator. This because I want to avoid occasional visitors to try to access the admin page. I removed the following line on the albums.PHP page:

$adminbox['commands'] = $adminCommands . makeIconMenu($iconElements, 'right');

And it apparently worked. Unfortunately if you login directly through login.php page, all administrative buttons have either disappear!! (obviously editing shuch line will prevent them from appear on the page either with/without administrative privileges.
So, how can I get rid of the login button and be able to login otherwise without losing all administrative menu
buttons (add albums / remove / sort etc...)

Any help would be greatly appreciated.
Many thanks in advance, keep up the good work

Tomaso

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.giusticostruttori.it/in_vendita/albums.php
Gallery version: 1.5.10
Apache version: 2.2
PHP version (don't just say PHP 4, please): 5.2.9
Graphics Toolkit:
Operating system: Win XP SP2
Web browser/version (if applicable): Opera 10.00b / Mozilla Firefox 3.0.11