How to update "PHOTO NOT AVAILABLE" image ?

42 views
Skip to first unread message

David Unric

unread,
Dec 7, 2012, 5:06:28 PM12/7/12
to satchm...@googlegroups.com
Hi,

any idea how to force updating of custom default image if there is no image assigned to a product ?

I did tried to replace static/images/categoryimage-picture-default.jpg and static/images/productimage-picture-default.jpg but Satchmo store keeps displaying the original ones from its cache.

So how can I effectively change these default product/category images ?

Tom Longson (nym)

unread,
Dec 7, 2012, 5:31:06 PM12/7/12
to satchm...@googlegroups.com
from its cache.

yes.



--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-users/-/duxAAmoyhb0J.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.

David Unric

unread,
Dec 7, 2012, 5:39:08 PM12/7/12
to satchm...@googlegroups.com
I'm sorry, but I'm missing your point here.

How do I update/clear the cache ? Replacing other images in <store>/static/images is immediately effective, just updating with manage.py collectstatic and re-starting the server but mentioned "default images" persist.

Tom Longson (nym)

unread,
Dec 7, 2012, 5:43:53 PM12/7/12
to satchm...@googlegroups.com
https://groups.google.com/forum/?fromgroups=#!topic/satchmo-users/NZApuktS5II

Cheers,
Tom Longson
----------------------------------------------------------------------------
CUPCAKES!! http://www.cupsandcakesbakery.com/



To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-users/-/zf69qQfGm3EJ.

David Unric

unread,
Dec 8, 2012, 9:27:31 AM12/8/12
to satchm...@googlegroups.com
Thank you for the link but it did not helped either.

The images (including the default ones) are generated in a template with the thumbnail module/plugin. If I change the dimensions of the generated thumbnail, it gets updated and new content is displayed. However if the dimensions are set back, the  old content from the cache is returned.

I did tried ./manage.py thumbnail clear and ./manage.py thumbnail cleanup, no error recieved but without any effect on cached thumbnails :-(

Any other idea ?
Reply all
Reply to author
Forward
0 new messages