Hi group, I'm just getting started with Django and I've run into a snag with images: I've set up the image portion of my site following these directions from the Django FAQ:
1) "In your settings file, define MEDIA_ROOT as the full path to a directory where you'd like Django to store uploaded files." ** mine is set as the absolute path on my machine 2) "Define MEDIA_URL as the base public URL of that directory. Make sure that this directory is writable by the Web server's user account. " ** have tried this as both the absolute path and the http path, neither works 3) "Add the FileField or ImageField to your model, making sure to define the upload_to option to tell Django to which subdirectory of MEDIA_ROOT it should upload files." ** used "specimen_image=models.ImageField(upload_to='public/')" in models.py 4) "you can get the absolute URL to your image in a template with {{ object.get_mug_shot_url }}." ** in my template, I refer to <img src="{{specimen.get_specimen_image_url}}> When I access the template's associated script through a browser, only the alt text is displayed (no image). I can access the image directly by entering the absolute path into my browser, but must be missing something somewhere along the way in Django. Any ideas? Thanks! Go Django! Heather Y. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---