Start a Project

How to fix broken image issue in Bagisto?

Sometimes, while using a Bagisto application,Headless eCommerce, Marketplaces or even after making any server side changes broken image may appears.

This problem with images is pretty common and can really mess up how users feel about your store.

These issues often happen because of wrong storage links, settings that aren’t set up right, or cache problems that haven’t been fixed.

This guide explains the common causes of and provides step-by-step solutions to resolve the issue effectively.

Common Causes of Broken Images

The problem with broken images in Bagisto usually happens for these reasons:

Solutions to Fix the Issue

Step A: Verify APP_URL  path in .env Configuration

Use code blocks for URLs and commands

For local setup:

If using php artisan serve:

or

After updating, run:

Step B: Remove Existing Storage Link

Navigate to the root directory of your project and remove the existing storage link:

 Step C: Recreate Storage Link

Now recreate the symbolic link using:

Step D: Clear Cache

If the issue still persists, clear all caches:

Thank you for reading this tutorial. We hope you found it helpful.

If you are facing  any problems, feel free to drop a comment below—we’re ready to assist!

Feel free to hire Laravel developer to build your custom solutions on laravel.
To find out about the extensions you can use, take a look at Bagisto Extensions.

Exit mobile version