On 17-Aug-07, at 7:47 AM, Greg wrote:
> Kenneth,
> So in your models.py file do you use auto_rename=False?
i use an old version - at that time it didnt have the auto_rename
feature
>
> This is what I have:
>
> photo = field.ImageWithThumbnailField(upload_to='site_media/')
thats what i have
>
Kenneth,
So in your models.py file do you use auto_rename=False?
This is what I have:
photo = field.ImageWithThumbnailField(upload_to='site_media/')
When the picture is uploaded and saved in your site_media folder.
Does it have the the same dimensions as the original file or does it
h
On 17-Aug-07, at 6:49 AM, Greg wrote:
> Thanks for the reply. When you use nesh and you upload a picture is
> the name of the picture:
>
> classname-fieldname-none.jpg? Or does the filename contain the pk of
> the record?
no - it is just the name of the picture that is on my local hard disk
Kenneth,
Thanks for the reply. When you use nesh and you upload a picture is
the name of the picture:
classname-fieldname-none.jpg? Or does the filename contain the pk of
the record?
Thanks
On Aug 16, 7:42 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 16-Aug-07, at 9:02 PM, Greg wrote
On 16-Aug-07, at 9:02 PM, Greg wrote:
> When the image gets uploaded the name of the image is myphototest-
> photo-none (without auto_rename attribute). Isn't none supposed to be
> the object pk. Shouldn't that be a 1,2,3 etc instead of none?
i'm afraid i cant help you further - I have been u
Kenneth,
I renamed the image to 'abc' and it still didn't work. I added
'auto_rename=False' to the ImageWithThumbnailField' and it still
doesn't display the image correctly.
When the image gets uploaded the name of the image is myphototest-
photo-none (without auto_rename attribute). Isn't non
On 16-Aug-07, at 8:05 AM, Greg wrote:
> The file I uploaded was called 'IMG_0090'. When I looked in the site-
> media folder it has been renamed to 'myphototest-photo-none'
try an image without '_' or spaces or special characters in the name
--
regards
kg
http://lawgon.livejournal.com
http:
The file I uploaded was called 'IMG_0090'. When I looked in the site-
media folder it has been renamed to 'myphototest-photo-none'
Thanks
On Aug 15, 9:18 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 16-Aug-07, at 7:37 AM, Greg wrote:
>
> > is all I see - .
>
> are there spaces in your
On 16-Aug-07, at 7:37 AM, Greg wrote:
> is all I see - .
are there spaces in your filename?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
Hello,
I've installed the nesh library. I've added a field in my models with
type ImageWithThumbnailField. Here is my template code to display the
image
When I view this page in the browser it displays the image with the
original dimensions. When I do a View -> Source in the browser this
is
10 matches
Mail list logo