public function all($tag) {
  $i = $this->image = new Image;
  $images = $this->get($tag, 'basename');
  $results = array();
  foreach($images as $image) {
   try {
    $results[] = $i->get($image['uid']);
   }
   catch(\Exception $e) {
    if ($e->getCode() != 403) {
     throw new \Exception($e);
    }
   }
  }
  return $results;
 }
public function all($tag) {
  $i = $this->image = new Image;
  $images = $this->get($tag, 'basename');
  $results = array();
  foreach($images as $image) {
   try {
    $results[] = $i->get($image['uid']);
   }
   catch(\Exception $e) {
    if ($e->getCode() != 403) {
     throw new \Exception($e);
    }
   }
  }
  return $results;
 }
public function all ( $ tag ) { $ i = $ this -> image = new Image ; $ images = $ this -> get ( $ tag , 'basename' ) ; $ results = array ( ) ; foreach ( $ images as $ image ) { try { $ results [ ] = $ i -> get ( $ image [ 'uid' ] ) ; } catch ( \ Exception $ e ) { if ( $ e -> getCode ( ) != 403 ) { throw new \ Exception ( $ e ) ; } } } return $ results ; }
All images with tag

Get all images that have a certain tag.

@api

@param string $tag The basename value for a particular tag.
All images with tag