src/Laravel/QSource.php
public function oneImageQueryForGroup($block_name, $group_name, $group_id, $image_name='')
    {
        $model_image = $this->app->make('Interpro\QuickStorage\Laravel\Model\Imageitem');

        $image_q = $model_image->query();

        $image_q->where('block_name', '=', $block_name);
        $image_q->where('group_name', '=', $group_name);
        if($image_name){$image_q->where('name', '=', $image_name);}
        $image_q->where('group_id', '=', $group_id);

        return $image_q->get()->toArray();
    }
public function oneImageQueryForGroup($block_name, $group_name, $group_id, $image_name='')
    {
        $model_image = $this->app->make('Interpro\QuickStorage\Laravel\Model\Imageitem');

        $image_q = $model_image->query();

        $image_q->where('block_name', '=', $block_name);
        $image_q->where('group_name', '=', $group_name);
        if($image_name){$image_q->where('name', '=', $image_name);}
        $image_q->where('group_id', '=', $group_id);

        return $image_q->get()->toArray();
    }
@param string $block_name
@param string $group_name
@param int $group_id
@param string $image_name

@return array