Giter Site home page Giter Site logo

zamronypj / placeimg Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 6.16 MB

Image place holder web application

License: GNU General Public License v2.0

PHP 95.99% JavaScript 0.65% SCSS 0.09% Blade 3.27%
image image-placeholder jpeg-image placeimg png-image-generate laravel laravel-application laravel5 image-generator

placeimg's Introduction

placeimg

What

Image place holder web application.

Features

Generate random image based on given width and height.

How

  • HTTP GET on http://[a domain name]/ will display help page.
  • HTTP GET on http://[a domain name]/{width}x{height} will retrieve width and height, validates it and then output JPEG image.
  • HTTP GET on http://[a domain name]/{width}x{height}/jpg will retrieve width and height, validates it and then output JPEG image.
  • HTTP GET on http://[a domain name]/{width}x{height}/png will retrieve width and height, validates it and then output PNG image.

For example: http://place.img/200x300 will output JPEG image with 200 x 300 resolution.

Installation

  • Clone this repository and then cd placeimg/placeimg
  • Make sure you have Composer installed somewhere.
  • Run composer install to install all software packages dependencies.
  • Create a virtual host on your web server then point public directory as Document Root.
  • From shell run composer dumpautoload to generate autoload file (optional).

Info

Application is built on top of Laravel framework 5.1 and Intervention Image (http://image.intervention.io)

That's it. If you add new cool features, please feel free to submit PR.

Zamrony P. Juhara [email protected] @zpjuhara

placeimg's People

Contributors

dependabot[bot] avatar zamronidomino avatar zamronypj avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

erkanserhan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.