Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
9k views

Auth guard [api] is not defined

I checked several questions with the same error above I mentioned. But couldn't find the answer. I'm trying to turn my base64 string into an image file. Here is the code in my controller, public ...
Tharindu Marapana's user avatar
0 votes
1 answer
4k views

How to save image in laravel storage directory

I need to save the image which was converted using base64 to the storage directory instead of saving it inside the public folder, Here is my store function which saves the image into my public ...
Jareer's user avatar
  • 252
1 vote
0 answers
726 views

Laravel 5 Intervention make base64 blob from POST API unable to init from given binary data

I'm sorry, it may be a couple issues and not sure how to phrase the question properly. OK, tried a number of solutions over 2 days to no avail...thank you in advance for your help! A photo is sent ...
OverAir's user avatar
  • 173
2 votes
1 answer
5k views

Saving animated gif with image intervention

I am trying to upload animated gif as user avatar. These images are converted to base64 through javascript and then are uploaded using image intervention. $img = Image::make(file_get_contents($file));...
priosshrsth's user avatar
  • 1,158
2 votes
1 answer
17k views

How to store a blob (image) in MySQL?

I am using php and intervention What is the db format of a blob? Is MySQL saving it as base64? Before I save an image file to db what should I do? Image::make('......')->encode('data-url'); Is ...
Jocky Doe's user avatar
  • 2,161
12 votes
1 answer
21k views

Intervention Image - save to variable in base64 encoded format

I'm using Laravel with image manipulating package Intervention Image. I want to save cropped image to variable and then to DB but can't find in documentation how to export result as string. Here's ...
Limon Monte's user avatar
  • 54.2k