intervention Questions
2
I'm trying to upload my files as circles, but I can't make it work.
I've seen some topics about applying a mask to the image, but when I apply the mask it takes way to long and the server shuts the...
Lilybel asked 13/4, 2015 at 10:5
5
Solved
I upgraded from Laravel 4.2 to Laraveld5.3 with intervention/image : "^2.3",
if (Input::hasFile('logo')) {
$path = public_path()."/assets/admin/layout/img/";
File::makeDirec...
Sirius asked 1/11, 2016 at 2:24
4
Solved
I'm uploading an iPhone image - taken by iPhone camera in vertical - with the dimensions of 2448x3264 and because this dimensions are so high (?) when I create a thumb of 600x360 it automatically r...
Affiant asked 10/6, 2019 at 14:1
4
I'm using intervention/image 2.3. When I try to upload an image I got the following error :
InvalidArgumentException in AbstractEncoder.php line 212
Quality must range from 0 to 100
Below is my c...
Fauve asked 1/9, 2016 at 6:33
4
Solved
I want to save the images from google plus as below url it is work as well in local computer but I got below error when upload to ubuntu14.
$image = Image::make('https://lh6.googleusercontent.com/...
Beatrizbeattie asked 21/2, 2017 at 10:2
6
Solved
I am trying to add a profile image upload in Laravel 5.1. I used the Intervention/Image Package but when I try to upload the image I get this error:
NotReadableException in AbstractDecoder.php l...
Tented asked 22/3, 2016 at 14:57
2
Solved
I tried to save an image which comes form POST request using laravel. but it gives me the following error.
ReflectionException in Container.php line 741: Class image does not exist
I did t...
Thirtythree asked 6/2, 2016 at 13:48
3
I'm working with laravel 7 and using intervention/image to store images. However, I want to encode and store images as webp, I'm using the following code but it is not encoding the image in webp ra...
Bar asked 8/7, 2020 at 7:57
7
I have a small problem concerning the resizing process of a given image, I am trying to submit a form containing an input type -->file<-- I was able to upload a picture without resizing it, afte...
Waters asked 12/8, 2016 at 17:55
2
Solved
I've used intervention image package in Laravel 5 project. It is working in local server. Now when I uploaded in shared server via cpanel, I am getting error:
MissingDependencyException in ImageMa...
Krefeld asked 8/6, 2017 at 3:19
5
Solved
I have installed intervention in Laravel 5.1 and I am using the image upload and resize something like this:
Route::post('/upload', function()
{
Image::make(Input::file('photo'))->resize(300, 2...
Mcclean asked 8/8, 2015 at 13:6
3
Solved
How to get the filename, when taking image from a remote server? And how to save with original size and filename?
// Take remote image
$img = Image::make('http://image.info/demo.jpg');
// how to sa...
Reflectance asked 28/9, 2015 at 17:26
3
I'm trying to use Intervention to resize an image, then save it in a disk that I've defined, but I can't get it to work. Using public_folder is saving it in a folder in the root of my app called /p...
Trice asked 26/2, 2017 at 0:19
5
Solved
When I upload big images (4.2 MB) Intervention Image is throwing 500 Error...
private function resizeImage($path, $imgName){
$sizes = getimagesize($path.$imgName);
if($sizes[0] > $sizes[1]){
...
Antisepsis asked 31/12, 2015 at 8:54
0
I'm currently using intervention/image to resize images and save them as JPG.
I have the same code running locally in Windows and remotely in Ubuntu 20.20.
In Windows it does the conversion PNG to ...
Bakemeier asked 17/7, 2020 at 10:28
1
I have a test asserting that images can be uploaded. Here is the code...
// Test
$file = UploadedFile::fake()->image('image_one.jpg');
Storage::fake('public');
$response = $this->post('/a...
Candelaria asked 4/1, 2020 at 15:24
2
Solved
I have a script which saves and caches images with intervention, and it's working 100%
However i am trying to work out how i can add 75% compression to jpg & png files, but i don't know i woul...
Variscite asked 21/7, 2015 at 6:12
3
Solved
Using Laravel 5.4, I'm tring to setup a form where a user can enter a food name and its image. While trying to upload a PNG or JPG image, I get the following Validation Error:
The image must be ...
Fume asked 11/3, 2017 at 14:10
2
I am implementing some image manipulation using great intervention library on Laravel 5. It works fine if image is small, like under 700KB with size lower than 800px wide.
But its not able to hand...
Avisavitaminosis asked 30/6, 2015 at 3:4
2
Solved
On my local development I use the code shown below, which works perfect,
but when I uploaded the site to my shared hosting everything worked fine except my file upload. I already determined that ...
Marysa asked 22/6, 2015 at 0:3
4
Solved
I am trying to upload the binary image to the storage using Laravel Intervention Image but it gives me error as Unable to init from given binary data.
I am using this code
$image = base64_decode...
Youth asked 3/9, 2018 at 12:2
3
Solved
I am in the process of upgrading a project from Laravel 5 to 5.1. One package that needed to be updated was League\Flysystem.
I am using Intervention\Image to resize an image and then Flysystem to...
Implicative asked 9/6, 2015 at 17:6
1
Solved
I am trying to create a watermarked version of an uploaded image and store both of them to the storage folder using laravel 5.6 and Intervention.
//create the watermarked image
$watermarkedImage...
Hemicycle asked 17/6, 2018 at 15:42
2
Solved
In my Laravel web-application I make use of the Intervention Image library. I'm saving three versions of the uploaded image: 'original', '500_auto' and a custom size image.
$image = Image::make(In...
Degust asked 18/12, 2015 at 10:23
1
I have created a method in my User model to upload a poster (with intervention)for the user:
/**
* Store user's poster.
*/
public static function storePoster(Request $request)
{
if($request->...
Torrey asked 19/7, 2017 at 13:14
1 Next >
© 2022 - 2024 — McMap. All rights reserved.