src/Laravel/QSource.php
public function oneImageQueryForBlock($block_name, $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('name', '=', $image_name);

        $collection = $image_q->get();

        if(!$collection->isEmpty())
        {
            $block_obj = $collection->first();

            return $block_obj->toArray();

        }else{

            throw new BuildQueryException('Данные картинки '.$image_name.' блока '.$block_name.' не найдены в базе.');
        }
    }
public function oneImageQueryForBlock($block_name, $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('name', '=', $image_name);

        $collection = $image_q->get();

        if(!$collection->isEmpty())
        {
            $block_obj = $collection->first();

            return $block_obj->toArray();

        }else{

            throw new BuildQueryException('Данные картинки '.$image_name.' блока '.$block_name.' не найдены в базе.');
        }
    }
@param string $block_name
@param string $image_name

@return array