Django-oscar: category images not showing

Created on 27 Jun 2016  路  11Comments  路  Source: django-oscar/django-oscar

Most helpful comment

any updates here?
I'm trying django-oscar with lightsail + nginx and i can't also see the images.
Any help here?

Thanks.

All 11 comments

@LennyLip why do you think this issue happening?
I can't still find the issue
interesting thing is the first image is shown in the for loop the rest is not shown....

@Nuruddinjr i think, i found reason. I tried to install oscar locally. And get follow error, when try to get image by url like a an /media/cache, etc. problem in sorl-thumbnail v12.3 in a PyPI , that the package doesn't contain any migrations (and last django 1.9 does not suppor syncdb). So i change sorl version to 12.4a1 in requirements.txt, reinstall it and run migrations.
And all work for me now.

Thanks, i will try for sure, don't u know why when i give size for sorl, it doesn't resize it

So the current setup.py in master requires sorl-thumbnail>=12.4a1 so it should be all good there right? Closing for now since this will be available in 1.3 then. If i'm wrong then let use know

@mvantellingen but images in a oscar demo still does not work http://latest.oscarcommerce.com/en-gb/catalogue/
oscar-demo

i'm using django-oscar, and i faced the same issue.
i installed sorl thumbnail 12.4a1, but it didn't fixed the problem.
any ideas? or new solutions?
thanks a lot.

Can you provide a traceback?

i didn't got the point, what do you mean by providing a traceback? how can i do it?
thanks

You can see in browser content, or use django-debug-toolbar or the old but trustable print().

any updates here?
I'm trying django-oscar with lightsail + nginx and i can't also see the images.
Any help here?

Thanks.

Was this page helpful?
0 / 5 - 0 ratings