Category: Laravel, Laravel

I am currently working a on a Laravel project that is using image intervention to handle image resizing. I was battling with this damn issue of my images resizing and having a black background, as attached as below: Luckily I ran into this StackOverflow post which explained how to to remove it. Here’s the solution in a nutshell: Here is my implementation of the fix in actual code: I hope this helps someone else out there in the ether :) Written by
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners