Just wanted to know how to put a picture on the front page of the gallery...So when the gallery loads up there's the menu on the leftand a welcome pic on the right. Thanks
in ./language/english.php (or the language you want), replace :
$lang['no_category'] = "No category selected<br />choose one...";
par
$lang['no_category'] = "<img src=\"./images/home.jpg\" alt=\"Welcome to the gallery\" />";
and add a picture called "home.jpg" in the "./images" directory
Offline
Thanks dude!
Picture is huge!! 8-O Any way to make it a certain size? :D
Thanks dude!
Picture is huge!! 8-O Any way to make it a certain size? :D
you resize it on your computer and upload it again on your web server. Simply !
Offline
Hi!
When i make the change in the language file, the picture will be shown, but a thumbnail from every gallery folders too. i only whant a picture on the startpage and nothing else :(
Hi!
When i make the change in the language file, the picture will be shown, but a thumbnail from every gallery folders too. i only whant a picture on the startpage and nothing else :(
Your talking about release 1.2 or prior. For release 1.3, if you want the same behaviour as in previous releases, do the following :
in category.php, replace :
350 //-------------------------------------------------------------- empty category
351 elseif ( ( isset( $page['cat'] )
352 and is_numeric( $page['cat'] )
353 and $page['cat_nb_images'] == 0 )
354 or $_GET['cat'] == '' )by
//-------------------------------------------------------------- empty category
elseif ( isset( $page['cat'] )
and is_numeric( $page['cat'] )
and $page['cat_nb_images'] == 0 )Offline
Thx. that's exactly what i'm looking for !!