what about defining images in your stylesheets?
The way we solve that is that if you reference your CSS with src="{{ media_url }}/css/style.css" and have urls in that CSS, define your urls with relative addressing and they'll also come from the media server. For us, we have a directory structure like this: media/ css/ img/ In our CSS we might have: #header { background: url(../img/header.png); } So if this CSS file is on CacheFly or something, it will pull the image from the sibling directory on CacheFly. Relative addressing in CSS works for us. I suppose there's nothing stopping anyone from building .css on the fly in Django and delivering as type="text/css". Has anyone done this? Cheers! -Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---