You've answered your question intended for me :P

I've tried serving static files with as many combinations as I could
think of in the following form:
(r'^images/schematics/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': '/www/htdocs/gfs_chefrevival/images/schematics'}),

and matched it with the function
      function show_img(suf, val) {
        img = document.getElementById('image_' + val);
        img.src = 'images/schematics/SKU' + suf + '.jpg';
      }

I also suspect that this doesn't work because javascript tries to get
the image from a static path (instead of a human clicking on a path
link and therefore triggering the URL capture). I'm sure there's a way
around this, I just need to think about it. But I won't deny help :P


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to