Can you check storage/logs/laravel.log for any hints?
The next step would be confirming that each step of the process is doing what you expect. Ex) Is $stock definitely what we expect?
It might also be good to confirm that the image is a jpg (though the browser should be smart enough to figure that out), and that the image itself isn't just a black box. :D
Hmmm. Strange.
Can you show the response the browser is receiving (headers and data)?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.