Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
Okay in the latest version every images generated is getting saved to
cache. My issue is resolved. Thanks all for your kind help :)

Thanks and Regards,
Swaroop Shankar V



On Tue, May 1, 2012 at 1:24 AM, Swaroop Shankar V wrote:

> It looks like i was using an old version which came with satchmo. Am
> currently testing my project with new version.
>
> Thanks and Regards,
> Swaroop Shankar V
>
>
>
> On Tue, May 1, 2012 at 12:59 AM, Swaroop Shankar V wrote:
>
>> It looks like the latest version of solr-thumnails or the version that i
>> have currently installed supports THUMBNAIL_STORAGE. When i checked i
>> could see a file under the path solr/thumbnail called defaults.py. In this
>> file there are following options
>>
>> DEBUG = False
>> BASEDIR = ''
>> SUBDIR = ''
>> PREFIX = ''
>> QUALITY = 85
>> CONVERT = '/usr/bin/convert'
>> WVPS = '/usr/bin/wvPS'
>> EXTENSION = 'jpg'
>> PROCESSORS = (
>> 'sorl.thumbnail.processors.colorspace',
>> 'sorl.thumbnail.processors.autocrop',
>> 'sorl.thumbnail.processors.scale_and_crop',
>> 'sorl.thumbnail.processors.filters',
>> )
>> IMAGEMAGICK_FILE_TYPES = ('eps', 'pdf', 'psd')
>>
>> which i guess can be overridden from the django settings file. Here there
>> is BASEDIR and SUBDIR and i guess those are the settings to be used but not
>> sure. When i tried to override the default i could see no change. So anyone
>> having experience in setting the same please let me know.
>>
>> Thanks and Regards,
>>
>> Swaroop Shankar V
>>
>>
>>
>>
>> On Mon, Apr 30, 2012 at 7:27 PM, Tiago Almeida > > wrote:
>>
>>> Have you tried changing the THUMBNAIL_STORAGE setting? I haven't done
>>> what you ask for but you should give it a try.
>>>
>>> http://thumbnail.sorl.net/reference/settings.html#thumbnail-storage
>>>
>>>
>>> Domingo, 29 de Abril de 2012 17:27:56 UTC+1, Swaroop Shankar escreveu:
>>>
 Thanks Kelly, could you tell me what all settings you had provided for
 it to cache into a separate directory?

 Thanks and Regards,
 Swaroop Shankar V



 On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes >>> > wrote:

> It always just caches the files for me in a completely different
> directory.
>
> On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:
>>
>> Hello All,
>> I am using sorl-thumbnail extensively in my project. It works
>> perfectly fine except for one issue which is regarding the storage. The
>> default behaviour of sorl-thumbnail is to create the images in the same
>> folder where the original image is stored. Is it possible to provide
>> a separate location for storage of generated file rather than the source
>> folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
>> be used? I am not able to figure it out from the documentation. If yes 
>> then
>> should i provide the absolute or relative path?
>>
>> Thanks and Regards,
>>
>> Swaroop Shankar V
>>
>>   --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit https://groups.google.com/d/*
> *msg/django-users/-/Tfl7B7Xir_**gJ
> .
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@**googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en
> .
>

  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/django-users/-/bh_2yiDPjF0J.
>>>
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
It looks like i was using an old version which came with satchmo. Am
currently testing my project with new version.

Thanks and Regards,
Swaroop Shankar V



On Tue, May 1, 2012 at 12:59 AM, Swaroop Shankar V wrote:

> It looks like the latest version of solr-thumnails or the version that i
> have currently installed supports THUMBNAIL_STORAGE. When i checked i
> could see a file under the path solr/thumbnail called defaults.py. In this
> file there are following options
>
> DEBUG = False
> BASEDIR = ''
> SUBDIR = ''
> PREFIX = ''
> QUALITY = 85
> CONVERT = '/usr/bin/convert'
> WVPS = '/usr/bin/wvPS'
> EXTENSION = 'jpg'
> PROCESSORS = (
> 'sorl.thumbnail.processors.colorspace',
> 'sorl.thumbnail.processors.autocrop',
> 'sorl.thumbnail.processors.scale_and_crop',
> 'sorl.thumbnail.processors.filters',
> )
> IMAGEMAGICK_FILE_TYPES = ('eps', 'pdf', 'psd')
>
> which i guess can be overridden from the django settings file. Here there
> is BASEDIR and SUBDIR and i guess those are the settings to be used but not
> sure. When i tried to override the default i could see no change. So anyone
> having experience in setting the same please let me know.
>
> Thanks and Regards,
>
> Swaroop Shankar V
>
>
>
>
> On Mon, Apr 30, 2012 at 7:27 PM, Tiago Almeida 
> wrote:
>
>> Have you tried changing the THUMBNAIL_STORAGE setting? I haven't done
>> what you ask for but you should give it a try.
>>
>> http://thumbnail.sorl.net/reference/settings.html#thumbnail-storage
>>
>>
>> Domingo, 29 de Abril de 2012 17:27:56 UTC+1, Swaroop Shankar escreveu:
>>
>>> Thanks Kelly, could you tell me what all settings you had provided for
>>> it to cache into a separate directory?
>>>
>>> Thanks and Regards,
>>> Swaroop Shankar V
>>>
>>>
>>>
>>> On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes 
>>> wrote:
>>>
 It always just caches the files for me in a completely different
 directory.

 On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:
>
> Hello All,
> I am using sorl-thumbnail extensively in my project. It works
> perfectly fine except for one issue which is regarding the storage. The
> default behaviour of sorl-thumbnail is to create the images in the same
> folder where the original image is stored. Is it possible to provide
> a separate location for storage of generated file rather than the source
> folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
> be used? I am not able to figure it out from the documentation. If yes 
> then
> should i provide the absolute or relative path?
>
> Thanks and Regards,
>
> Swaroop Shankar V
>
>   --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To view this discussion on the web visit https://groups.google.com/d/**
 msg/django-users/-/Tfl7B7Xir_**gJ
 .
 To post to this group, send email to django-users@googlegroups.com.
 To unsubscribe from this group, send email to django-users+unsubscribe@
 **googlegroups.com .
 For more options, visit this group at http://groups.google.com/**
 group/django-users?hl=en
 .

>>>
>>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/bh_2yiDPjF0J.
>>
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Swaroop Shankar V
It looks like the latest version of solr-thumnails or the version that i
have currently installed supports THUMBNAIL_STORAGE. When i checked i could
see a file under the path solr/thumbnail called defaults.py. In this file
there are following options

DEBUG = False
BASEDIR = ''
SUBDIR = ''
PREFIX = ''
QUALITY = 85
CONVERT = '/usr/bin/convert'
WVPS = '/usr/bin/wvPS'
EXTENSION = 'jpg'
PROCESSORS = (
'sorl.thumbnail.processors.colorspace',
'sorl.thumbnail.processors.autocrop',
'sorl.thumbnail.processors.scale_and_crop',
'sorl.thumbnail.processors.filters',
)
IMAGEMAGICK_FILE_TYPES = ('eps', 'pdf', 'psd')

which i guess can be overridden from the django settings file. Here there
is BASEDIR and SUBDIR and i guess those are the settings to be used but not
sure. When i tried to override the default i could see no change. So anyone
having experience in setting the same please let me know.

Thanks and Regards,

Swaroop Shankar V



On Mon, Apr 30, 2012 at 7:27 PM, Tiago Almeida wrote:

> Have you tried changing the THUMBNAIL_STORAGE setting? I haven't done what
> you ask for but you should give it a try.
>
> http://thumbnail.sorl.net/reference/settings.html#thumbnail-storage
>
>
> Domingo, 29 de Abril de 2012 17:27:56 UTC+1, Swaroop Shankar escreveu:
>
>> Thanks Kelly, could you tell me what all settings you had provided for it
>> to cache into a separate directory?
>>
>> Thanks and Regards,
>> Swaroop Shankar V
>>
>>
>>
>> On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes 
>> wrote:
>>
>>> It always just caches the files for me in a completely different
>>> directory.
>>>
>>> On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:

 Hello All,
 I am using sorl-thumbnail extensively in my project. It works perfectly
 fine except for one issue which is regarding the storage. The default
 behaviour of sorl-thumbnail is to create the images in the same folder
 where the original image is stored. Is it possible to provide
 a separate location for storage of generated file rather than the source
 folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
 be used? I am not able to figure it out from the documentation. If yes then
 should i provide the absolute or relative path?

 Thanks and Regards,

 Swaroop Shankar V

   --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/django-users/-/Tfl7B7Xir_**gJ
>>> .
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to django-users+unsubscribe@*
>>> *googlegroups.com .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/django-users?hl=en
>>> .
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/bh_2yiDPjF0J.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Storing Sorl-thumbnail created images in separate folder

2012-04-30 Thread Tiago Almeida
Have you tried changing the THUMBNAIL_STORAGE setting? I haven't done what 
you ask for but you should give it a try.

http://thumbnail.sorl.net/reference/settings.html#thumbnail-storage 


Domingo, 29 de Abril de 2012 17:27:56 UTC+1, Swaroop Shankar escreveu:
>
> Thanks Kelly, could you tell me what all settings you had provided for it 
> to cache into a separate directory?
>
> Thanks and Regards,
> Swaroop Shankar V
>
>
>
> On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes wrote:
>
>> It always just caches the files for me in a completely different 
>> directory.
>>
>> On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:
>>>
>>> Hello All,
>>> I am using sorl-thumbnail extensively in my project. It works perfectly 
>>> fine except for one issue which is regarding the storage. The default 
>>> behaviour of sorl-thumbnail is to create the images in the same folder 
>>> where the original image is stored. Is it possible to provide 
>>> a separate location for storage of generated file rather than the source 
>>> folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to 
>>> be used? I am not able to figure it out from the documentation. If yes then 
>>> should i provide the absolute or relative path?
>>>
>>> Thanks and Regards,
>>>
>>> Swaroop Shankar V
>>>
>>>   -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/Tfl7B7Xir_gJ.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/bh_2yiDPjF0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Storing Sorl-thumbnail created images in separate folder

2012-04-29 Thread Swaroop Shankar V
Thanks Kelly, could you tell me what all settings you had provided for it
to cache into a separate directory?

Thanks and Regards,
Swaroop Shankar V



On Sun, Apr 29, 2012 at 8:09 PM, Kelly Nicholes wrote:

> It always just caches the files for me in a completely different directory.
>
> On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:
>>
>> Hello All,
>> I am using sorl-thumbnail extensively in my project. It works perfectly
>> fine except for one issue which is regarding the storage. The default
>> behaviour of sorl-thumbnail is to create the images in the same folder
>> where the original image is stored. Is it possible to provide
>> a separate location for storage of generated file rather than the source
>> folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
>> be used? I am not able to figure it out from the documentation. If yes then
>> should i provide the absolute or relative path?
>>
>> Thanks and Regards,
>>
>> Swaroop Shankar V
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/Tfl7B7Xir_gJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Storing Sorl-thumbnail created images in separate folder

2012-04-29 Thread Kelly Nicholes
It always just caches the files for me in a completely different directory.

On Saturday, April 28, 2012 1:06:12 PM UTC-6, Swaroop Shankar wrote:
>
> Hello All,
> I am using sorl-thumbnail extensively in my project. It works perfectly 
> fine except for one issue which is regarding the storage. The default 
> behaviour of sorl-thumbnail is to create the images in the same folder 
> where the original image is stored. Is it possible to provide 
> a separate location for storage of generated file rather than the source 
> folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to 
> be used? I am not able to figure it out from the documentation. If yes then 
> should i provide the absolute or relative path?
>
> Thanks and Regards,
>
> Swaroop Shankar V
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Tfl7B7Xir_gJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Storing Sorl-thumbnail created images in separate folder

2012-04-28 Thread Swaroop Shankar V
Hello All,
I am using sorl-thumbnail extensively in my project. It works perfectly
fine except for one issue which is regarding the storage. The default
behaviour of sorl-thumbnail is to create the images in the same folder
where the original image is stored. Is it possible to provide
a separate location for storage of generated file rather than the source
folder? I could find a setting called THUMBNAIL_STORAGE, is it the one to
be used? I am not able to figure it out from the documentation. If yes then
should i provide the absolute or relative path?

Thanks and Regards,

Swaroop Shankar V

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.