2017 © Pedro Peláez
 

library makeimage

access image which is saved in storage

image

anilkumar/makeimage

access image which is saved in storage

  • Friday, May 22, 2015
  • by anil2050kumar
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Make Image

This package helps in accessing the images which are stored in storage directory of laravel, (*1)

Requirements

  • PHP >=5.3
  • Image Intervention

Getting started

  • Use composer to install the package
    # sudo composer require "anilkumar/makeimage"
  • Once MakeImage is installed, you need to register Laravel service provider, in your app/config/app.php:
'providers' => array(
    ...
    'Anilkumar\Makeimage\MakeimageServiceProvider'
)

Code Examples

  • Suppose an image is stored in this path ProjectName/app/storage/one.png, (*2)

  • You can access that image <img src='make/image/one.png'>, (*3)

  • If image is stored in deep directory structure ProjectName/app/storage/files/product/images/one.png, (*4)

  • You can access that image by replacing '/' with ':' <img src="make/image/files:product:images:one.png">, (*5)

  • Make sure that image should have readable permissions, (*6)

License

Intervention Image is licensed under the MIT License., (*7)

Copyright 2015 Anil kumar, (*8)

The Versions

22/05 2015

dev-master

9999999-dev https://github.com/anil2050kumar/makeimage

access image which is saved in storage

  Sources   Download

MIT

The Requires

 

by Anil kumar

access image storage