i saw the documentation, and i don't think that helps the cause, the
index.html file inside the shop directory, has these lines which gives
the path of image:
{% thumbnail product.main_image.picture 85x85 as image %}
<a href="{{ product.get_absolute_url }}"><img
src="{{ image.get_absolute_url }}" width="{{ image.width }}"
height="{{ image.height }}" /></a>
now i don't think that is been explained in documentation any where,
that is why i am here at google group.
On Nov 17, 9:36 pm, Bob Waycott <[email protected]> wrote:
> take a look at Django's documentation for serving static files.
>
> On Tue, Nov 17, 2009 at 1:37 AM, saurabhdwivedi
> <[email protected]>wrote:
>
>
>
>
>
> > Hi, i installed the satchmo as per the documentation guidelines and
> > it's running fine except a small problem.
>
> > with the settings.py as mentioned in the documentation i passed the
> > same values in all the fields including the following:
> > DIRNAME = os.path.abspath(os.path.dirname(__file__))
> > MEDIA_ROOT = os.path.join(DIRNAME, 'static/'),
> > MEDIA_URL = '/static/'
>
> > but no images are been displyed on running the site.i checked for the
> > path of the images and its as follows:
>
> > <img height="85" width="85" src="/static/d:/django%20applications/
> > satchmo_home/project_satchmo/static/images/productimage-picture-
> > default_jpg_85x85_q85.jpg"/>
>
> > instead of
>
> > <a href="/product/neat-book/"><img height="85" width="85" src="/static/
> > images/productimage-picture-default_jpg_85x85_q85.jpg"/></a>
>
> > please help.- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=.