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

Laravel 5 - Intervention Image Saving

I'm trying to create a working image upload in a form using Laravel 5 and Intervention. public function store() { $input = Request::all(); Project::create($input); if (Input::hasFile('image')) { $file =…
Joren Polfliet
  • 127
  • 3
  • 13
0
votes
0 answers

Intervention Image 2.3, resize, fill background, vertical and horizontal align a image

I'm using Intervention Image with Laravel. Im running into a issue that i want to manipulate a earlier saved image. First i check if the image exists, if so, then i want to resize it to a width of 181px and height of 80px. After resizing i want to…
Donny van V
  • 921
  • 1
  • 10
  • 22
0
votes
2 answers

How to Return a Text with an Image in Laravel 4

I'm working on a Laravel 4 application and I wrote a method called show() inside my controller that gets the id from the route and makes an array of some elements from the database, these elements will be returned with an image. I can return the…
0
votes
2 answers

Issue with image resize using intervention in laravel 4

I was working to configure intervention to work on my laravel 4 project as I need to resize the images I upload, I did everything perfectly as explained everywhere and autoloaded the package in my vendor and inserted the necessary lines in…
0
votes
1 answer

How to transform images on server using Guillotine (JS) & Intervention

I am using Guillotine to let the user transform images. No instructions or examples are provided for how to actually apply the transformations on the server side. Using Intervention, how do you do this properly? The image is sent to the server with…
Marcel Gruber
  • 6,668
  • 6
  • 34
  • 60
0
votes
4 answers

Resize to 3 different size at a time to different path using intervention in laravel 5.0

I am trying to resize images in Laravel 4.2 using intervention, but i want to move images to 2 different folders at a time. If i run the below code if(Input::hasFile('product_images')) { $images = Input::file('product_images'); …
Supritha
  • 1
  • 4
0
votes
0 answers

uploading a image with jQuery ajax and manipulating and saving to server with intervention api

First of all let me explain simply what it is I am trying to achieve. The user fills out a form and on submit I would like to send all the data with jQuerys $.post method and then with Laravel 5.1 and Intervention API(http://image.intervention.io/)…
Alex Winter
  • 37
  • 1
  • 1
  • 7
0
votes
1 answer

laravel 5 cant save image

When trying to save an image on my server, in my laravel 5 project with intervention image class, with the following code : $pathFull = public_path('images/original/brand/' . $filename); $img =…
Sven van den Boogaart
  • 11,833
  • 21
  • 86
  • 169
0
votes
1 answer

Laravel 4 imagecache intervention not displaying images

Here's the product page with an imagecached image: http://kmk-prof.kz/product/dx700lc As you can see - image is not being displayed and has following url: /imagecache/catalogue/dx700lc-541a82fe99ac3.jpg But when i try to browse that image just in my…
Alexander Kim
  • 17,304
  • 23
  • 100
  • 157
0
votes
2 answers

Laravel 4.2 + nginx return Input::file null

I'm in a very strange situation: When I try to upload some file using Form::file('image') I get only null value. the form {{ Form::open(['route' => 'admin.companies.store', 'class' => 'form', 'files' => true]) }}

{{…

Patrick Maciel
  • 4,874
  • 8
  • 40
  • 80
0
votes
1 answer

Laravel 5 intervention image upload multiple size

I am using laravel 5 and intervention, and would like to store multiple sizes of a image when it is uploaded via a form. Can anybody guide me
Amit
  • 107
  • 1
  • 10
0
votes
1 answer

Having problems with creating image cache with Intervention \ Image

So heres my code public static function getImageThumb($link) { $domain = substr(Request::root(), 7); if(starts_with(Request::root(), 'http://')) { $domain = substr(Request::root(), 7); } $link = $domain.$link; // This is…
DaveLV2
  • 167
  • 1
  • 3
  • 10
-1
votes
1 answer

laravel intervention image source not readable on deployment

Image class intervention not readable! can anyone help me that why image not readable error show on deployment when i upload new photos to laravel project, which is totally fine in development environment but in production has this error enter image…
-1
votes
1 answer

How to install intervention/image in laravel 6

I have tried to get solution from others in stackoverflow but no one is working. I have installed Laravel in my cpanel. My folder structure is www.mysite.com/home. I have created a php.ini file in file manager with this…
Kallol Das
  • 141
  • 4
  • 18
-1
votes
1 answer

Can not upload multiple images on Laravel

Let's say that I want to upload 3 images a.jpeg, b.jpeg and c.jpeg I've successfully selected the images that i want to upload. Sent them to the Controller and checked with print_f() to see if they're actually to the controller. They were. Then when…
cemilakkoc
  • 43
  • 7
1 2 3
30
31