Replies: 36 comments 9 replies
-
Hi @venkat402 Kindly clear your browser cache once, because we can see images - https://prnt.sc/qtdp68 and https://prnt.sc/qtdq4d. |
Beta Was this translation helpful? Give feedback.
-
Actually I fixed the issue by removing my custom package from the webkul packages |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi, @keeloren |
Beta Was this translation helpful? Give feedback.
-
Hi @venkat402 , I'm using docker. but still gets an error. where is 'cache/small' and why it includes to URL image :( |
Beta Was this translation helpful? Give feedback.
-
Hi @keeloren Please follow the given link for solution - https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions |
Beta Was this translation helpful? Give feedback.
-
HI @rahulshukla-webkul , I try to run that command on the link solution. But it does not work :(( |
Beta Was this translation helpful? Give feedback.
-
Hi @keeloren Do the following things, from the root of your directory -
Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @venkat402 Actually we are caching images in three different sizes. Can you tell me , whats is your APP_URL in .env file ? Is that - localhost::9000 or not. Thanks |
Beta Was this translation helpful? Give feedback.
-
HI @rahulshukla-webkul @venkat402 . My APP_URL = http://localhost:9000 Please tell me to know where the folder has caching images in three different sizes? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Change APP_URL =http://localhost/project_name/public/ |
Beta Was this translation helpful? Give feedback.
-
Hi @venkat402 @rahulshukla-webkul |
Beta Was this translation helpful? Give feedback.
-
how u r solve it :( |
Beta Was this translation helpful? Give feedback.
-
php artisan storage:link this every time if u move folder it work or u can change upload image file location to public |
Beta Was this translation helpful? Give feedback.
-
@riwash no i tried that this didnt solve it for me |
Beta Was this translation helpful? Give feedback.
-
Hi, Nginx is running at port 83 and root is point to bagisto public directory. APP_URL=http://domain.com php artisan storage:link said images are good in admin but not show in frontend. any help please! |
Beta Was this translation helpful? Give feedback.
-
Hi @chiendv, There are possibly only two reasons,
|
Beta Was this translation helpful? Give feedback.
-
Hi @devansh-webkul, I has resolved it by check config of nginx and comment out config lines for cache static files
Hope it can help other people with this kind of issue. |
Beta Was this translation helpful? Give feedback.
-
what if i want to cache statick files? |
Beta Was this translation helpful? Give feedback.
-
We are using the default Laravel configuration and mostly these are cached. If you need to customize you can feel free to do it at your instance. |
Beta Was this translation helpful? Give feedback.
-
I was happy when I found this discussion after running into the same issue of products images not showing, however, none of the suggestions given here does seem to work for me. Any other help will be greatly appreciated. Below is a screenshot: |
Beta Was this translation helpful? Give feedback.
-
I got this error, and there was no solution at all. To solve it, go to your .ENV file, and in APP_URL, add the URL and port like this (APP_URL=http://localhost:8000) Thanks |
Beta Was this translation helpful? Give feedback.
-
Is there any real answer to this issue at all?. I have try all the above and the images are still not showing in the frontend side. but is displaying fine in the admin panel.
I have also try deleting the storage folder in the public folder and relink the folder with Any ideas on how to fix this. |
Beta Was this translation helpful? Give feedback.
-
Hi there, Please follow the below steps for the resolved the issue. 1. cd public |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hi, guys GD Library extension not available with this PHP installation - thats why is not showing. using xampp apache server. Go to php folder in xampp and open the php.ini and php configurations settings file, and change the line ;extension=gd2 or the line ;extension=gd to just extension=gd2 For Ubuntu you should install it manually: PHP7.4: sudo apt-get install php7.4-gd Others are same to installation or Enable. Restart all your Services like Apache etc. Good Luck. And thanks for Developers Bagisto |
Beta Was this translation helpful? Give feedback.
-
Please refer here, |
Beta Was this translation helpful? Give feedback.
-
Bug report
On production, images are not loading
I followed the bellow site instructions
but still not resolved the issue
https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions
Issue Description
on landing page
same on description page
Description helps the developers to understand the bug. It describes the problem encountered or some after effect of some kind.
Preconditions
Please provide as detailed information about your environment as possible.
I run all the commands bellow but still the issue not fixed at
composer update
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
composer dump-autoload
php artisan vendor:publish
php artisan storage:link
rm public/storage
php artisan storage:link
Beta Was this translation helpful? Give feedback.
All reactions