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
2
votes
0 answers

Image source not readable : Image Upload in Laravel

I'm trying to upload an image to our system. It is working well when I'm using it in localhost but when I'm testing in server, it's throwing an error Image source not readable. I'm trying to upload a 2.2MB photo since my max size of image upload is…
Eem Jee
  • 1,239
  • 5
  • 30
  • 64
2
votes
3 answers

Intervention Image - Could not open input file: composer.phar

When I install the php composer.phar require intervention/image this, I got the one error: Could not open input file: composer.phar I follow this step but I can't find the solution to my error: Intervention Image
2
votes
1 answer

Using Intervention Image to resize an image in the storage folder

I have a function in my Laravel application that allows users to upload profile pictures to their profile. Here is the method: /** * Store a user's profile picture * * @param Request $request * @return void */ public function…
Jesse Luke Orange
  • 1,949
  • 3
  • 29
  • 71
2
votes
1 answer

How raise text in written text with intervention/image?

In my Laravel 5.8 app using "intervention/image": "^2.4" library and css like: .banner_image { border-radius: 20%; border-style: outset; -webkit-border-radius: 20%; -moz-border-radius: 20%; …
Petro Gromovo
  • 1,755
  • 5
  • 33
  • 91
2
votes
1 answer

Generate image having text with user's First Name and Last Name initials

I want every user to have a default profile image when they register. This image will have initial letter of their First Name and Last Name. I made a plain image with a single color, I then tried to write text on it using Intervention Image. It…
sujeet
  • 3,480
  • 3
  • 28
  • 60
2
votes
1 answer

Can we use multiple fonts on the basis of different language to create overlay text using intervention library?

I'm using Intervention library to write overlay text on an image. This works perfect if the text provided is of one language(say English) I need to write overlay text in multiple languages depending on the input given(the input can be in any…
Satendra Rawat
  • 1,264
  • 11
  • 23
2
votes
0 answers

Intervention Image can't write to storage_path

I want to store uploaded image to storage_path (storage/app/images/users) and not public_path (public/images/users) in my Laravel application. My filesystem configuration is as follows: 'disks' => [ 'local' => [ 'driver' => 'local', …
Josh
  • 1,660
  • 5
  • 33
  • 55
2
votes
1 answer

"Cannot use Intervention\Image\Facades\Image as Image because the name is already in use"

I am trying to figure out how to use Intervention Image library but I'm getting this error. I followed the Laravel integration on their website which had me do the following. After you have installed Intervention Image, open your Laravel config file…
Onyx
  • 5,186
  • 8
  • 39
  • 86
2
votes
0 answers

laravel file upload if php fileinfo extension not alowed and cant't allow on shared server

I often have a problem with servers which I am using. They don't allow php fileinfo extension and it's impossible to allow it. Can anybody tell me good alternative Intervention Image to upload image and resize in Laravel? or using Intervention…
2
votes
1 answer

Image:make(path) Image source not readable when i use artisan custom command

i hope you can help me with my problem. I have a Laravel application and i wanna optimize all my images. I use a controller for that, but i have a lot of images, and i get execution_maxim_time_exceed. I think, the best way to do that is to creat an…
RedoColor
  • 137
  • 1
  • 3
  • 14
2
votes
1 answer

Laravel Image resize on uploaded file

I'm using laravel intervention. When i try resize image on uploaded file like, it's return : Image source not readable I can access image on http://laravel.test/laravel-filemanager/photos/sample.jpg from browser. I've tried almost all ways.…
user1719993
  • 59
  • 1
  • 9
2
votes
1 answer

Image Convert Tiff to png/jpg

How to convert the tiff or tif file convert in png or jpg extension. I used Intervention package for laravel. When i try to convert tiff to jpg given me error like ImageMagick module not available with this PHP installation. Here below is my code…
user7819169
2
votes
1 answer

Delegating multiple image resize operations to Laravel job does not speed up upload process

I've been trying to optimize the UX for or admins when uploading images on our platform. The images are rather heavy (7-10MB) and uploaded in batches of 3 at a time, asynchronously (using FineUploader). Each image is being stored in multiple sizes,…
lesssugar
  • 15,486
  • 18
  • 65
  • 115
2
votes
0 answers

Laravel 5.2 : Upload multiple image with intervention but First image only uploaded

Hi I am trying to upload multiple images using the intervention package but when I start upload one image only gets upload here is the view {!! Form::open(array('url'=>'admin/event-gallery', 'method'=>'post', 'files'=>'true')) !!} …
Yousef Altaf
  • 2,631
  • 4
  • 46
  • 71
2
votes
0 answers

Laravel image read from url using intervention

I am trying to read image from the URL http://www.example.com/uploads/sample.jpg using intervention library using this Intervention Make. But its giving me a blank object of the image. $manager = new ImageManager(); $image =…
Wasif Iqbal
  • 474
  • 1
  • 4
  • 17