I'm using the django dev server, but I added this line to serve static
files:

if local_settings.DEBUG:
    urlpatterns += patterns('',
        (r'^static/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': 'static'}),
    )

When I go to the url for the default product picture image, it does show up.

On Wed, Feb 10, 2010 at 9:07 PM, m1chael <[email protected]> wrote:

> maybe your static directory isnt set up properly through your web server
> software (i.e. apache)??
>
>   On Wed, Feb 10, 2010 at 8:28 PM, Brian O'Connor <[email protected]>wrote:
>
>>  I just installed my test store, and ran the demo store.  None of the
>> products had images, and when I went to add an image to a product I added,
>> that didn't show up either.
>>
>> When I view the soruce of the test products, it just has this:
>>
>> <div class = "productImage">
>>
>>               <center>
>>
>>
>>               <a href="/product/neat-book/"><img src="" width="" height="" 
>> /></a>
>>
>>
>>               </center>
>>
>>             <p><a href="/product/neat-book/">A really neat book</a></p>
>>
>>
>>
>>         </div>
>>
>>
>> For my product, I get this source:
>>
>> <ul>
>>             <li>
>>
>>             <a href="/product/my-test-shirt/"><img 
>> src="/static/images/productimage-picture-my-test-shirt-2_gif_85x85_q85.jpg" 
>> width="" height="" /></a>
>>
>>
>>
>>             <a href="/product/my-test-shirt/">My Test Shirt</a></li>
>>
>>          </ul>
>>
>> But still no picture.
>>
>> Any ideas?
>>
>> --
>> Brian O'Connor
>>
>> --
>> 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]<satchmo-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/satchmo-users?hl=en.
>>
>
> --
> 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]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>



-- 
Brian O'Connor

-- 
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=en.

Reply via email to