sorl-thumbnail Questions

4

Solved

I have been trying for several hours now to get sorl-thumbnail working, but it just won't work. The hard part is that it's not showing errors so I have no idea whats wrong. I followed the instruct...
Devine asked 5/12, 2010 at 2:11

2

I've been reading about and trying various thumbnailing apps for Django. These are the requirements: All generated thumbnails must be saved in a S3 bucket separate from the original images, i.e. ...
Trilbie asked 1/2, 2016 at 21:51

4

Solved

I was searching the web for my question and couldn't find a clear answeror any example. Basically, I want to use sorl and want to resize the source image during the Model save time to resize it d...
Lyndsaylyndsey asked 19/2, 2012 at 23:8

6

Solved

I am using django-storages and sorl_thumbnail together and I am using Amazon S3 for static and media files. I am using one bucket with 2 folders, 1 for static and 1 for media. Here is my config: ...
Dormie asked 30/9, 2012 at 7:56

1

I've installed SORL-thumbnail through pip. When I try to import it in the Python shell it's OK, but if I add this to INSTALLED_APPS I get: ImportError (No module named SORL)
Medorra asked 4/5, 2015 at 13:24

4

Solved

I can't get the thumbnail displayed in my template. I get this error: django.db.utils.ProgrammingError: (1146, "Table 'ia_website.thumbnail_kvstore' doesn't exist") Installed sorl_thumbnail-1...
Behave asked 1/2, 2016 at 17:15

4

Solved

Is there any possibility to resize animated gifs with sorl?
Andesine asked 17/1, 2011 at 9:53

4

I'm having trouble with Django 1.3 using django-grappeli and sorl-thumbnail. I have a project that uses this code from the official sorl-thumbnails docs: # myapp/admin.py from django.contrib impo...
Underworld asked 27/3, 2011 at 15:39

1

We switched from a development server to a production server, but attempted to use the same cache for sorl thubmnail. In our attempt to resolve issues, we pretty much messed up the cache, deleting ...
Durfee asked 30/6, 2014 at 20:45

4

Solved

I'm working on and project that uses two separate modular Django apps. However, one app requires easy-thumbnails and the other requires sorl-thumbnails. Unfortunately, the two thumbnail libraries m...
Derinna asked 17/11, 2011 at 20:51

3

I've been looking at the sorl-thumbnail's documentation, and I still can't figure out how to: upload images to sorl-thumbnail. selectively show images from sorl-thumbnail. (for example, load a spe...
Wynn asked 19/6, 2012 at 10:27

4

Solved

I am using S3 storage backend across a Django site I am developing, both to reduce load from the EC2 server(s), and to allow multiple webservers (redundancy, load balancing) access the same set of ...
Halfpenny asked 6/4, 2011 at 7:39

2

Solved

I use Sorl-Thumbnail in my django-project. I have a situation, when I havent got an image and I need to show no_image.png. This code works: {% thumbnail car.default_picture.image|default:"http://e...
Fitch asked 4/1, 2014 at 11:9

1

I'm using sorl-thumbnail which provides cached thumbnails of a given image. I want to delete generated thumbs when the origin image changes or is deleted. I know that sorl-thumbnail provides a de...
Malefic asked 9/12, 2013 at 8:38

2

Solved

I override the save method like below, and get_thumbnails and save with sorl.. But get the error 'ImageFile' object has no attribute '_committed' class HotelPhotos(models.Model): hotel = models....
Warfold asked 15/5, 2013 at 10:51

2

Solved

I'm developing my project inside a Vagrant VM, the software version I'm using is: Ubuntu 12.04 Django 1.6 Sorl Thumbnail 11.12 Pillow 2.5.3 I have some pictures in the path /var/www/django/my_pro...
Studious asked 5/11, 2014 at 16:27

5

I want to resize my static files with sorl thumbnail but it doesnt work here is my codes {% if not new.photo %} {% with path="{{STATIC_URL}}/images/empty-news.jpg" %} {% thumbnail path "80x80" c...
Latia asked 18/10, 2012 at 14:17

1

Solved

I am using sorl-thumbnail to create thumbnails for my project. I am implementing it only in templates and not in the models or the view. And each of the thumbnail are linked with their original ima...

1

I am having a very strange error in using sorl thumbnails in my django project which uses S3 for media files. I have done my settings as pointed out in this answer https://stackoverflow.com/a/12848...
Quinate asked 10/1, 2013 at 20:45

1

Solved

I'm trying to get up and running with sorl thumbnail but I'm getting an error "decoder zip not available". I have read through a ton of similar pages saying that it is a PIL / Pilow issue. I have...
Furthermore asked 30/7, 2013 at 15:58

3

I'm surprised I don't see anything but "use celery" when searching for how to use celery tasks with sorl-thumbnails and S3. The problem: using remote storages causes massive delays when generating...
Tomb asked 3/5, 2012 at 2:48

0

I'm using sorl-thumbnail to generate thumbnails for a list of images. Essentially my code looks like {% for image in image_list %} {% thumbnail image.image "158x158" crop="center" as im %} {% ...
Botzow asked 2/5, 2013 at 11:57

5

Solved

I am trying to serve the thumbnail of a file that resides in my STATIC_ROOT folder. It doesn't really matter if it ends up in MEDIA_URL/cache, but sorl-thumbnail will not load the image from the st...
Floppy asked 20/9, 2011 at 19:28

4

Solved

guys, i would like to know if sorl-thumbnail have any option to crop from the bottom to the top... i have a litter problem, in some picture sorl-thumbnail is croping the head of the people in pictu...
Biltong asked 4/10, 2009 at 15:55

1

Solved

I've got a project in which I need to start creating dynamically-resized thumbnails of user-uploaded images, where previously I'd been generating some specifically sized ones. I have an existing mo...
Payola asked 11/10, 2012 at 11:1

© 2022 - 2024 — McMap. All rights reserved.