Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 > > > > 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 > have smaller dimensions? same as original -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 have smaller dimensions? Thanks On Aug 16, 8:33 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > 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 > > -- > > regards > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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: > > > 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 using Nesh Thumbnail > right from it's first release, and the only issues i have faced is > when there were spaces and unusual characters in the filename. > Otherwise it works perfectly > > -- > > regards > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 using Nesh Thumbnail right from it's first release, and the only issues i have faced is when there were spaces and unusual characters in the filename. Otherwise it works perfectly -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 none supposed to be the object pk. Shouldn't that be a 1,2,3 etc instead of none? Thanks On Aug 16, 12:06 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > 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 > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 filename? > > -- > > regards > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Using Nesh Thumbnail - Not displaying correct dimensions
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 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 -~--~~~~--~~--~--~---
Using Nesh Thumbnail - Not displaying correct dimensions
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 all I see - . Is Thumbnails supposed to save a thumbnail image (width-100 height-200) in my site_media folder? I'm using the development server. Thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---