Product images not showing due to saved in cache folder

43 views
Skip to first unread message

William Thomas

unread,
May 23, 2021, 11:32:18 PM5/23/21
to django-oscar
Hi, 

The product image unable to display correctly in both backend dashboard and front load and I've checked the source address for one of the example image which look like this 
<img src="/media/cache/26/74/sdfsdfsdj.jpg"> but could not figure out why. Can anyone shed light how I can get the images to show up correctly? 

Here is what I've written 


# Static files (CSS, JavaScript, Images)

STATIC_URL = '/static/'

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/public/media'

# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
MEDIA_URL = '/media/'

Any help would be appreciated 

William

Carlton Muhammad

unread,
Oct 31, 2021, 10:53:33 AM10/31/21
to django-oscar
Have you been able to solve this problem?
Reply all
Reply to author
Forward
0 new messages