Let me clarify I need to be able to do something like

front_image = model.ImageField(upload_to='plan_images/hp/p%id/lrg') and
have %id be replaced with the models id field.  Giving a final save
path of something like <media root>/plan_images/hp/p1/lrg.  I also want
to create a preview size of the image and a thumbnail size and save
them in similar directories except instead of ending in lrg they end in
med and small.  You are probably thinking that is a pretty strange way
to do things and I agree.  The problem is though that I am trying to
create an admin site for a web application that doesn't have one and it
saves its image files in that way.  Thanks for the example code Ian.
I'm currently trying to figure out how to get it to do exactly what I
want.

Nathan Ekstrom


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to