$location = Storage::disk('public')->url(Post::first()->poster); $image = Image::make($location)->encode()->encoded; base64_encode($image);
How to get plain base64 encoded image format in Laravel
Learn how to get plain base64 image format in Laravel with the help of Laravel Intervention package
Created on Aug 22, 2021•
Please support us by disabling your ad-block. The revenue help us create more content for the community.
Full stack developer mainly focusing on the front end side of the web. The main author of PostSrc and loves writing tutorial and guides online.
Load comments for How to get plain base64 encoded image format in Laravel
PostSrc Code Components
Collection of Tailwind CSS components for everyone to use. Browse all of the components that's right for your project.View Components