Questions tagged [photologue]

64 questions
1
vote
2 answers

The best Python/Django architecture for image heavy web application

I am building a web application that allows users to upload images to their accounts - similar to flickr and 500px. I want to know the best setup for such an application. I'm using Python 3.4 and Django 1.9 I'm currently thinking about the…
olivrg
  • 5,523
  • 3
  • 15
  • 19
1
vote
1 answer

Image management on Django

I'm trying to figure out which image management library to use on django. What is the difference between photologue, image-kit, and pil(python imaging library)?
prostock
  • 9,327
  • 19
  • 70
  • 118
1
vote
1 answer

Photologue ImageModel required field question (and how to override)

I have a model that inherits from Photologues 'ImageModel'. The user can upload photos and everything works fine, however the problem I am running into is when I am creating a form to edit a photo object. Since the ImageModel.image is a required…
Fred
  • 41
  • 2
1
vote
1 answer

How to change default URL in Django Photologue

Is it possible to change default URL in Photologue? For example this URL url(r'^photo/(?P[\-\d\w]+)/$', PhotoDetailView.as_view(), name='pl-photo') I want to change on url(r'^pictures/(?P[\-\d\w]+)/$', PhotoDetailView.as_view(),…
chinskiy
  • 2,557
  • 4
  • 21
  • 40
1
vote
0 answers

Template error with django-photologue: 'Permission Denied'

I'm in the process of re-setting up my Django development environment after reinstalling my OS. We use django-photologue with our project, which I installed using easy_install. However, I'm getting a template error on every template that has a…
Ellie P.
  • 4,133
  • 3
  • 30
  • 30
1
vote
2 answers

Django-Photologue : Error 500 while uploading jpg files but uploading png files works

When I try to add jpg files in django-photologue I get "Server Error (500)". The apache logs show : "POST /admin/photologue/photo/add/ HTTP/1.1" 500 330 http://www.mywebsite.net/admin/photologue/photo/add/" "Mozilla/5.0 (X11; Linux x86_64)…
eighilaza
  • 490
  • 1
  • 4
  • 12
1
vote
2 answers

Cannot resolve keyword 'items' into field. Choices are: id, name

I am using photologue to create a photo gallery site with django. I installed django-tagging into my virtualenv, not knowing it was no longer supported by photologue. Now, after having performed migrations, whenever I try to add a photo or view the…
Cameron Sima
  • 5,086
  • 6
  • 28
  • 47
1
vote
1 answer

django photologue on webfaction

I think I've got an issue described in the photologue docs regarding having both PIL and Pillow installed at the same time. Webfaction has PIL installed by default and I can't seem to uninstall it. The docs say "write a temporary file…
1
vote
1 answer

Photologue zip uploader not working

According to the docs, The 'zip upload' functionality has been moved to a custom admin page as of 11/4/2014. This functionality is nowhere to be found, and my galleries upload field in admin disallows uploading zip files.
Cameron Sima
  • 5,086
  • 6
  • 28
  • 47
1
vote
3 answers

Django: Photologue does not show images in templates

I am trying to install django-photologue. Everything seems ok, because I install and set up following the official guidelines. I have to upload some photos as examples. However, when viewing a photo or gallery details , then an error as…
anhtran
  • 2,006
  • 4
  • 27
  • 53
1
vote
1 answer

How to iterate over columns of an image?

I want to transform images like this to add an effect to pictures in django as described here. I decided to implement it as a process for the great django-imagekit/photologue My knowledge of PIL isn't very good, so my question is How to intend a…
1
vote
2 answers

Django-imagekit: how to reduce image quality with a preprocessor_spec?

I've created this simple model class, with a Preprocessor to reduce my photos'quality (the photos'extension is .JPG): from django.db import models from imagekit.models import ImageModel from imagekit.specs import ImageSpec from imagekit import…
user176455
  • 685
  • 1
  • 10
  • 21
1
vote
1 answer

Django w/ Photologue: 100% CPU for Image-Resizing Requests (Python Imaging Library)

I've created a photo-hosting website with Django that uses the Photologue app (which depends on Python Imaging Library). When users upload photos, multiple resized photos are generated for each (e.g. small/medium/large, thumbnails, etc). The…
0
votes
1 answer

Problems while installing an application / no module named photologue

Hey there i got a problem installing photologue application. Im following installation instructions. ~/coffee$ python manage.py shell Python 2.6.1 (r261:67515, Mar 18 2009, 13:52:30) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on…
mmln
  • 2,104
  • 3
  • 24
  • 33
0
votes
1 answer

Django-photologue ImageModel

This is my first project in django and im using photologue for gallery, which is awesome and i really like it. But there is one thing i dont get, how can i use its ImageModel? I have a blog-app and with every new blogpost created in the admin…
daniel
  • 393
  • 1
  • 3
  • 10