Re: ImageField nightmares

2006-03-27 Thread sparkydeville
Hi, and thanks - I switched my "image caption" field to be the "core" field and this was the change that worked. Also, any idea why the ImageField widget doesn't show the image, just the path to the image file, and a link that goes nowhere...

Re: ImageField nightmares

2006-03-25 Thread Wilson Miner
I've had similar problems with using an image field as the core field in an edit_inline relationship. When an object with an edit_inline relationship is saved, the admin checks if the core fields on any of th erelated objects are blank, and if so, it deletes that related object. aWhat happens

Re: ImageField nightmares

2006-03-25 Thread nate-django
On Sat, Mar 25, 2006 at 07:35:46AM -0800, sparkydeville wrote: > To clarify the use-case, consider an article like an image gallery, > wherein one article can have more than one image associated with it. > Further it would be helpful if the Article add/edit form could allow > users to add images

Re: ImageField nightmares

2006-03-25 Thread sparkydeville
Thank you Ivan, Law and Malcolm for the fast, and helpful replies... problems persist. I fixed the syntax error in the __repr__ of the Article class, and while I'm no longer getting "Django blowup errors", there are other bugs to contend with. Also, the full path to the upload directory *works*

Re: ImageField nightmares

2006-03-25 Thread Malcolm Tredinnick
On Sat, 2006-03-25 at 01:30 -0800, sparkydeville wrote: > Hi all > > I'm new to Django, and I'm seeing various complaints about the > ImageField, specifically it's basic inability to work as advertised. I > think I've tried every permutation of trying to make it accomplish the > simple task of

Re: ImageField nightmares

2006-03-25 Thread lawgon
> image_caption = meta.CharField(maxlength=256, blank=True) > the_image = > meta.ImageField(upload_to='/home/sparky/django_instances/gbtt/media/editorial_u\ > ploads/', core=True) give a relative path for upload_to - what is the error message?

Re: ImageField nightmares

2006-03-25 Thread Ivan Sagalaev
sparkydeville wrote: >I'm new to Django, and I'm seeing various complaints about the >ImageField, specifically it's basic inability to work as advertised. > Could you, please, clarify what exactly doesn't work in regard to image fields? My experience is that they are succesfully storing and

ImageField nightmares

2006-03-25 Thread sparkydeville
Hi all I'm new to Django, and I'm seeing various complaints about the ImageField, specifically it's basic inability to work as advertised. I think I've tried every permutation of trying to make it accomplish the simple task of working as part of an "image gallery" and "image" model, although in