Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #8986
    supportadmin
    Participant

    I have created 1 gallery with multiple albums. I bought the extra extension Album Stripes, but I can’t seem to show more than 3 at a time. What can I do to show different albums in one category? I though this simple feature came by default in the plugin, with so many options, I think you are missing this. Or am I missing something?

    #8988
    Rattus
    Keymaster

    Albums Stripes module can show only 3 albums per view and only albums.

    #8994
    supportadmin
    Participant
    This reply has been marked as private.
    #8995
    Rattus
    Keymaster

    If you want to show Category’s covers instead of Album’s covers in Albums Stripes module then it’s require modification of init.php file in module’s folder.

    starting from line 25 replace:

    if(!empty($query['album__in'])){
        $album__in = wp_parse_id_list($query['album__in']);
    } else{
        $args       = array_merge($query, array('fields' => 'ids'));
        $gmedia_ids = $gmDB->get_gmedias($args);
        $album__in  = $gmDB->get_gmedia_terms($gmedia_ids, 'gmedia_album', array('fields' => 'ids'));
    }

    to:

    if(!empty($query['category__in'])){
        $album__in = wp_parse_id_list($query['category__in']);
    } else{
        $args       = array_merge($query, array('fields' => 'ids'));
        $gmedia_ids = $gmDB->get_gmedias($args);
        $album__in  = $gmDB->get_gmedia_terms($gmedia_ids, 'gmedia_category', array('fields' => 'ids'));
    }
    #8996
    supportadmin
    Participant
    This reply has been marked as private.
    #8998
    Rattus
    Keymaster

    Album with 0 images in it will not be showed in the gallery. You should put at least one image to each album.

    #8999
    supportadmin
    Participant
    This reply has been marked as private.
    #9000
    Rattus
    Keymaster

    You could add some tag for each cover image (for example ‘album cover’) and then create gallery with only that tag.
    Also you could add Link to each cover image that will lead to the page with chosen album.
    As for now only Albums Stripes module shows albums covers.

    #9035
    supportadmin
    Participant
    This reply has been marked as private.
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Gmedia Gallery WordPress Plugin’ is closed to new topics and replies.
Forum closed. Use forum at Wordpress.org: Gmedia Support Forum