1. Kent-Rune Henriksen
  2. Werewolf (PHP)
Issue #38 resolved

Avatar size and multiple loading

Kent-Rune Henriksen
repo owner created an issue

We need a function to create an avatar based on a given width (not sure if this exists yet or is even possible?). Needed for the memberlist page, as a default sized avatar would be too large.

Also an optimized way of loading several avatars in one query:

function fetch_multiple_avatars ($array = array(uid1, uid2) {
    $this->db->where_in('uid', $array);
}

and return them in an array indexed by uid