Re: image field update impossible.

2006-01-30 Thread [EMAIL PROTECTED]
thank you mary ! MEDIA_ROOT = '/home/greg/Projects/woot/' with 'postimgs' as the path in imagefield allow editing without error.

Re: image field update impossible.

2006-01-30 Thread mary
u have to check your media_root that is in settings.py cause i think the problem is that he can't find the right path for your media files and the right path had to be media_root path+ the path of upload_to [EMAIL PROTECTED] wrote: > It doesn't solve the problem, i can't still override the image w

Re: image field update impossible.

2006-01-29 Thread tonemcd
Ah I see. Sorry, but I've not used ImageFields yet, so I don't think I can help in that instance... Cheers, Tone

Re: image field update impossible.

2006-01-29 Thread [EMAIL PROTECTED]
the file i was trying to upload had a different name, or even just dont edit anything and save the page, an error will still raise.

Re: image field update impossible.

2006-01-29 Thread tonemcd
I guess a validator would sort things out in this situation. However, this is a general problem - uploading files that have the same name (test.doc, figures.xls, etc.) - how do you know that its ok to overwrite the file with the same name? If it's just you uploading files, you're probably ok, but

Re: image field update impossible.

2006-01-29 Thread Roberto Aguilar
Is it possible to attach a validator to that field and remove the file if it exists? Check out unlink on this page: http://docs.python.org/lib/os-file-dir.html -berto. On 1/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It doesn't solve the problem, i can't still override the image wi

Re: image field update impossible.

2006-01-29 Thread [EMAIL PROTECTED]
It doesn't solve the problem, i can't still override the image with a new one, an invalid filename error rise. see there http://img95.imageshack.us/img95/4536/see9za.png.

Re: image field update impossible.

2006-01-26 Thread Kenneth Gonsalves
On Thursday 26 Jan 2006 1:12 pm, [EMAIL PROTECTED] wrote: > img= meta.ImageField('Attach Image', upload_to='postimgs', upload_to='postings/' -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

RE: image field update impossible.

2006-01-26 Thread mary . adel
I am suffering from the same problem acctually and i need hepl too Mary AdelSoftware DevelopperITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolisemail: [EMAIL PROTECTED]Office: +202 - 6236612 EXT. 102Mobile: +2012 5241719 Original Message Subject: image field update impossibl