Tag : Resize Image


PHP - How to compress PNG image using pngquant?

Today, In this tutorial, we will learn how to reduce png image size while uploading in core PHP. You can simply use this script in other PHP framework like Laravel, codeigniter, cake PHP etc. compress file size is very important for our server. If you have 4MB image then you have take large memory space to store and another thing it take time to load when you display on web page or application. But If you reduce image size then it more better for it take lass memory space and it take lass time to load image or file on web. Here we are going to use "pngquant" command-line utility and library f.....

By Hardik Savani | March 19, 2017 | | 542 Viewer | Category : PHP
READ MORE

Laravel 5 - Image Upload and Resize Example using Intervention Image Package

In this post i will show you how to resize image in laravel application. Generally if we are work on big project like ecommerce etc then we need to generate thumbnail image for product or user image etc. So in laravel you can do easily using intervention/image package. You can also manage resize image with maintain ratio of image. In this example if you beginner then also easily understand and reuse this example in your application, you have to just follow bellow few step. In this example i give you image upload form and after submit image will upload and then display image preview as you can .....

By Hardik Savani | April 26, 2016 | | 46438 Viewer | Category : Laravel
READ MORE

    iOS 7 style switches for checkboxes example using switchery JS

    iOS 7 style switches for checkboxes example using switchery JS

    Open Post

    Laravel 5 Autocomplete using Bootstrap Typeahead JS Example with Demo

    Laravel 5 Autocomplete using Bootstrap Typeahead JS Example with Demo

    Open Post

    Jquery - Animated typing effect using typed js example with demo

    Jquery - Animated typing effect using typed js example with demo

    Open Post

    AngularJS - simple image upload with preview example in PHP

    AngularJS - simple image upload with preview example in PHP

    Open Post

    Bootstrap daterangepicker example code with demo using daterangepicker.js

    Bootstrap daterangepicker example code with demo using daterangepicker.js

    Open Post

    Laravel 5 - line chart example code using google charts API

    Laravel 5 - line chart example code using google charts API

    Open Post