Questions tagged [django-filer]

File and Image Management Application for Django.

Makes handling of files and images a breeze.

See github project.

78 questions
8
votes
1 answer

How to programmatically fill or create filer.fields.image.FilerImageField?

I have some model class with a filer.fields.image.FilerImageField as a field. from filer.fields.image import FilerImageField class ModelName(Model): icon = FilerImageField(null=True, blank=True) How to programmatically create or fill an icon…
Sergey
  • 425
  • 1
  • 4
  • 11
7
votes
2 answers

Using django-filer, can I chose the folder that images go into, from 'Unsorted Uploads'

I'm using django-filer for the first time, and it looks great, and work pretty well. But all my images are being uploaded to the 'Unsorted Uploads' folder, and I can't figure out a way to put them in a specific one. This strikes me as a fundamental…
David Downes
  • 1,145
  • 10
  • 24
7
votes
1 answer

Django-Filer: How to invoke upload widget outside admin

How do I invoke the upload widget outside Admin? Using the standard form below does not work. The widget is corrupted. forms.py class PhotoAdd(forms.ModelForm): class Meta: model = Photo fields =…
caliph
  • 1,389
  • 3
  • 27
  • 52
5
votes
1 answer

Using django filer out of admin area (or an alternative library)

Django filer is an awesome tool for managing files, it detects duplicates and organizes files based on their hashes in folders, has great UI for managing files and folders and handles file history and permissions. I read some of the source code and…
Mohammad Jafar Mashhadi
  • 4,102
  • 3
  • 29
  • 49
4
votes
2 answers

Increase the django-filer preview / thumbnail images within the admin

The images that are generated by django-filer (or easy_thumbnails?) are so little that it is hard for me to recognize the preview images. How can I increase the preview / thumbnail size in the admin overview?
wiesson
  • 6,544
  • 5
  • 40
  • 68
4
votes
0 answers

Can't select image in new Django filer in admin

I have a problem in a new Django app with filer. I can upload an image from disk, but I can't select this image to choose it. There is no arrow to pick up the image. This is my screen enter image description here
Sławek Lis
  • 101
  • 1
  • 7
4
votes
1 answer

Django-filer: How to create folders and save uploaded images correctly?

The django-filer documentation makes no mention of how to correctly create folder and save the images savely inside. My scenario: I have different users that can upload images through the frontend. Right now every FilerImage I create gets saved in…
WeGi
  • 1,908
  • 1
  • 21
  • 33
4
votes
1 answer

Djangocms and django-filer: upload files into a specific folder

I set up djangocms 3.1.0 with django-filer 0.9.11 and I created two custom djangocms plug-ins extending django-filer (as explained in documentation). Everything works fine but now I need to set just for one of those plug-ins a specific folder in…
3
votes
2 answers

How to use Django-filer(asset file manager)?

Can someone point me in the right direction on how to use Django-filer? I have installed the necessary tools for the filer to work and I get the Filer tab in the admin interface, but when I upload an image to the app I am not able to get the preview…
Rakesh
  • 81,458
  • 17
  • 76
  • 113
3
votes
1 answer

Django-filer: Reading folder structure in a Template to create a Gallery

I've just started using Django-Filer, and I'm a bit lost as to how I can actually reference the images uploaded in the admin system. I need to display a simple dynamic gallery on a single page, that can handle multiple albums. Each album is a new…
3
votes
1 answer

django-filer uploads automatically create instances of a model

Here is myapp.model from django.db import models from filer.fields.image import FilerImageField class Item(models.Model): ... image = FilerImageField() ... I'd like to hack in the middle of the django-filer uploading process and…
gwaramadze
  • 4,523
  • 5
  • 30
  • 42
2
votes
2 answers

How to write a django migration to replace djangos own django.db.models.FileField instance by a django-filer filer.models.Image instance?

Originally my models.py had a field named image using django's models.FileField as seen below: from django.db import models class Company(models.Model): image = models.ImageField(upload_to='uploads/', null=True, blank=True) Then I've decided…
2
votes
0 answers

Failing django migrate from ProcessedImageField to FilerImageField

I currently have a model for reusable images: class Image(models.Model): class Meta: verbose_name = _('Image') verbose_name_plural = _('Images') name = models.CharField( max_length=200, unique=False, …
Oli
  • 21
  • 2
2
votes
2 answers

How to solve filer and sites dependencies problem in my project

Currently I have started working on Django project given by me for learning purpose. I have done all kind of necessary setup in my virtualenv and when running migrate command on my project I am getting below kind of dependencies problems as below. I…
Moon
  • 4,014
  • 3
  • 30
  • 66
2
votes
0 answers

Filer and Multi-Tenant Problem (Postgres Schemas)

We are experiencing a weird problem. We use Postgresql Schemas and uses request middleware to switch between different schemas. Keep in mind that the Model -> Content Type ID links differ from schema to schema due to new models made after the first…
1
2 3 4 5 6