coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: DjPete on June 27, 2007, 03:49:50 AM

Title: Thumbnails On Index Page For Members Galleries
Post by: DjPete on June 27, 2007, 03:49:50 AM
Is thiit possible to show Thumbnails On Index Page For Members Galleries instead of just the text hyperlink?
Title: Re: Thumbnails On Index Page For Members Galleries
Post by: Joachim Müller on June 27, 2007, 09:32:15 AM
Default Home Category to User Groups (http://forum.coppermine-gallery.net/index.php?topic=4958.0)
Title: Re: Thumbnails On Index Page For Members Galleries
Post by: DjPete on June 27, 2007, 09:43:13 AM
thanks.
so i change the index.php code as per here...
The code is practically unchanged since 1.3


Code:
    if (isset($_GET['cat'])) {
        $cat = (int)$_GET['cat'];
    }


Code:
    if (isset($_GET['cat'])) {
        $cat = (int)$_GET['cat'];
    } else {
        $cat = USER_GAL_CAT;
    }





and that should give me one thumbnail of the user albums?
Do I read this right?