View Full Version : Help with Gallery v1.3.3
Hi there,
I have already installed the script and it is working fine, but I would like to change few things, they are:
1) How do I print file name or file caption in title bar (view_photo.php) ?
2) How to change the background of index page, I've changed the background of albums.
3) How do I sort album on the index page?
4) How do I get rid of login & slide show URL's?
You can take a look at the gallery here (http://www.indianceleb.com/gallery)
I would be glad if someone can help :) ....
Sorry, your site wanted me to install crappy software.
This is one of my pet hates so I won't be helping you.
alphadesk
5-25-03, 11:56 AM
Sorry, your site wanted me to install crappy software.Plus a never ending loop of popups....that ran me off.
Well I'm sorry about that, but I was just trying out few scripts and popup's with the script & didnt realise that I haven't took them off.
Now I've taken them off, If you feel like helping you can :) .... I never even thought that someone will click on the gallery link, as I said the gallery is working fine (no errors) I just wanted to make few changes.
Jade Dragon
5-25-03, 04:40 PM
1) How do I print file name or file caption in title bar (view_photo.php) ?
Once you login to your album you will see a drop down menu under the thumbs of the pictures in album_view
2) How to change the background of index page, I've changed the background of albums.
The index page is controled by the /css/standalone_css.php file. You will see the BODY tag which controls the color.
3) How do I sort album on the index page?
Login in to the Gallery. On the main page you will see a set of links under the names of your albums click [move album]
4) How do I get rid of login & slide show URL's?
This is a little bit trickier.
By removing the login you will not be able to directly administer your pages. It has been done where the login was removed to another page. I have not done this, but there is a thread on the Foums at Gallery (http://gallery.menalto.com/) The code to move the login can be found in the album.php file. There are actually two parts to this code. One defines the php Strings in the album.php and then it uses /layout/adminbox.inc to print the information.
This takes a little bit of knowlege of PHP to make it work.
~~~~~~~
The slideshow can be removed by resetting the CHMOD on the files as if you are reinstalling it. This will not loose any of the settings/pictures of your albums. But you will be able to switch off those things which you do not want, such as your slideshow.
hope this helps.
Jade
Hi Jade,
Thankyou for your help, I got most of them working now, except the 1st one.
I dont want to change the caption of the image, but I would like the caption to echo/print in the title bar.
Example (http://indianceleb.com/gallery/view_photo.php?set_albumName=Wallpapers&id=Aishwarya_Rai_001) if you click on the link, you will see that 2 is printed in the title bar, when clicked on thumbnail number 2.
Instead of 2 printing there I would like the file name to be printed. This can be done by changing the following in the view_photo.php.
<title><?php echo $gallery->app->galleryTitle ?> :: <?php echo $gallery->album->fields["title"] ?> :: <?php echo $index ?></title>
something like getphotoid() ?
Thankyou.
Jade Dragon
5-26-03, 10:48 AM
aaahhh, I get what you are saying.
Look for this in photo_view.php
<title><?php echo $gallery->app->galleryTitle ?> :: <?php echo $gallery->album->fields["title"] ?> :: <?php echo $index ?></title>
and replace with this
<title><?php echo $gallery->app->galleryTitle ?> :: <?php echo $gallery->album->fields["title"] ?> ::
<?php echo $gallery->album->getCaption($index) ?> </title>
=)
Jade
vBulletin v3.6.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.