Questions tagged [intervention]

Intervention Image is an open source PHP image handling and manipulation library. It provides an easier and expressive way to create, edit, and compose images and currently supports the two most common image processing libraries GD Library and Imagick.

Intervention Image is an open source PHP image handling and manipulation library. It provides an easier and expressive way to create, edit, and compose images and currently supports the two most common image processing libraries GD Library and Imagick.

The class is written to make PHP image manipulating more easier and expressive. No matter if you want to create image thumbnails, watermarks or format large image files Intervention Image helps you to manage every task in an easy way with as little lines of code as possible.

The library follows the FIG standard PSR-2 to ensure a high level of interoperability between shared PHP code and is fully unit-tested.

456 questions
0
votes
0 answers

Can not install Intervention Image in Codeigniter 3

I have Intervention installed in Laravel 5+, which I use daily. For a new application I have to use Codeigniter 3, and I am trying to install Intervention also into there. This will make everything much easier for me because I am used to this…
Franco
  • 2,309
  • 1
  • 11
  • 18
0
votes
1 answer

Resizing JPEG images in Laravel using Imagick driver

I am resizing images in my laravel application and I'm using Intervention with imagick driver. I just want to ask why is it that even if the size of the image is 300x300px, its file size is 600kb. I would have thought that it should have been like…
Jed
  • 1,054
  • 1
  • 15
  • 34
0
votes
1 answer

Rename image and then save image name into database

I want to get image from the user and then rename it and after that i want to save the renamed image name into the database. here is my controller codes. im using intervention package. i can save the photo to the destination folder correctly after…
Noob Coder
  • 2,816
  • 8
  • 36
  • 61
0
votes
1 answer

Web App Image Rotate Issue

Problem: When uploading image taken from iPhone, it is displayed on the website rotated 90 degrees counter-clockwise. I've done research and understand certain meta data contained in the image file is causing this. Is there a good library to…
Matt Pierce
  • 807
  • 3
  • 22
  • 45
0
votes
1 answer

Laravel 5.2.x - Intervention/Image - Call to a member function encode() on null

I have created a repository to manage the upload image using Intervention/Imagelibrary but when I try to save an image I get Call to a member function encode() on null. This is my interface: namespace App\Repositories\MeetMount\ImageUploader; use…
Christian Giupponi
  • 7,408
  • 11
  • 68
  • 113
0
votes
0 answers

Unable to save images to the public directory in laravel

Hi I'm getting this error message while trying to save an image using Intervention/image . { "error": { "type": "Intervention\\Image\\Exception\\NotWritableException", "message": "Can't write image data to path…
8yt3c0d3
  • 549
  • 2
  • 7
  • 18
0
votes
1 answer

HTML minification interferes with Intervention package

I'm implementing the Intervention package to dynamically resize images in my site. It's working quite well and I'm happy with it. Here's an example of how I do it: Route::get('images/ads/{width}-{ad_image}-{permalink}.{format}', function($width,…
Jhourlad Estrella
  • 3,545
  • 4
  • 37
  • 66
0
votes
1 answer

How to delete image with Intervention.io library for Laravel 5

I am using http://image.intervention.io/ library for Laravel 5. I got everything working fine, but i cannot seem to find a delete()/remove() method. Is this something that's not part of their library, because documentation doesn't mention it…
TrueStory
  • 439
  • 5
  • 17
0
votes
1 answer

Laravel 4.2 Intervention-image displays broken image

I am following the Laracast tutorial for handling image manipulation using Intervention. After adding it to my composer file and running composer update, I added it to my service providers and aliases as instructed in the installation guide. Also,…
Rachel
  • 1
  • 4
0
votes
2 answers

Getting Error: NotReadableException in AbstractDecoder.php line 302

I am following a turtorial on how to save photos and resize them as thumbnails using PHP, Laravel 5.1, MySQL, InterventionImage plugin, and am getting the following error when I try to add photos: NotReadableException in AbstractDecoder.php line…
andre
  • 1,660
  • 3
  • 19
  • 31
0
votes
0 answers

How to use PHP(5.5) extract EXIF(version 2.3) info from JPEG file

I am now using PHP v5.5.30, in its information page: exif EXIF Support enabled EXIF Version 1.4 $Id:a0425de51ec3270d01522bf62d41bfe78893f78d $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF When I use exit() function of…
iLeoDo
  • 397
  • 3
  • 11
0
votes
1 answer

Laravel 5: Intervention Image, imagecache. Missing argument 2 error

Trying to using Intervention Image to resize images. Got that part working. Now I want to cache the images for 10 minutes, but I am getting this stack trace when I upload a new article with an image: ErrorException in ArticlesController.php line…
Lansana Camara
  • 9,497
  • 11
  • 47
  • 87
0
votes
1 answer

Laravel 5 intervention image upload multiple resize and save path to database

i have been able to follow this answer and i can actually create multiple image size. My question is, how can i save each path to a database. public function store(Request $request) { $input= $request->all(); $file = $input['image']; …
Adedapo Ajuwon
  • 323
  • 2
  • 6
0
votes
2 answers

Intervention Image: Encoding format (png?v=73d79a89bded&a) is not supported

I am using Laravel 5 Embed package to grab the meta data of external links. I then use Intervention Image package to manipulate the default image of the link and save it on the disk. All works well, until I try to submit a link to a StackOverflow…
Halnex
  • 4,242
  • 12
  • 49
  • 102
0
votes
1 answer

Laravel 5 Intervention Can't write image data to path

Here is my Controller public function store() { $data = Request::all(); $rules = [ 'password' => 'required|confirmed|min:3', 'avatar' => 'required|image|mimes:jpeg,png,bmp', 'email' …
Dark Cyber
  • 2,181
  • 7
  • 44
  • 68