photologue

How to make custom PhotoEffects in Django Photologue?

I'm creating an image gallery in Django using the Photologue application. There are a number of PhotoEffects that come with it. I'd like to extend these and make my own so that I can do more complicated effects such as adding drop shadows, glossy overlays, etc. Is is possible to create custom effects that Photologue can then use to pr...

Django: remove GROUP BY added with extra() method ?

Hi (excuse me for my bad english) ! When I make this: gallery_qs = Gallery.objects.all()\ .annotate(Count('photos'))\ .extra(select={'photo_id': 'photologue_photo.id'}) The sql query is : SELECT (photologue_photo.id) AS `photo`, `photologue_gallery`.* FROM `photologue_gallery` LEFT OUTER ...

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

Hi, please excuse me for my ugly english :p 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 processors class Preprocessor(ImageSpec): qu...

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 column of pixels by a sinus-offset in PIL? any hints (code, lins, general thoughts) ar...

Integrating Photologue

I want to integrate photologue with my Django app and use it to display photos in a vehicle inventory...kinda like what is offered by Boost Motor Group Inc. I've already integrated the app so the next step which I'm trying to figure out is how to hook it up into my vehicle model and also how to display the photos. My vehicle model looks...

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 follows: Caught an exception while rendering: 'Photo' object has no attribute 'get_thumbnail_url' I...

ImageModel and BaseProfile

Hello, I want to write an app that registers a userprofile and uploads an image at the same time, I've got my baseprofile registration done, now all I want is to upload a user image using ImageModel and link it to a user, how do I achieve this?. These are the models: class BaseProfileImage(ImageModel): member = models.ForeignKey(BasePr...

Customising Django admin TabularInline default field

I have a TabularInline admin layout, all works fine except I'd like to have it show something other than the Obj.__unicode__ value on the top left of each row. My TabularInline is a photologue ImageModel model, so I'd like it to show me the thumbnail instead of the regular __unicode__ result. I tried to change __unicode__ to output the...

Dynamically create and save image with Django and PIL/Django-Photologue

I want to generate a page of html with dynamic content and then save the result as an image as well as display the page to the user. So, user signs up to attend conference and gives their name and org. That data is combined with html/css elements to show what their id badge for the conference will look like (their name and org on top of ...

set maximum imagesize for django Photologue..

hi, just uploaded some photos via django photologue. And one image, an extreme panorama format will not show properly. its 2200px wide. Is there a limitation to the size of an image and can this limitation be changed? thx ...

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 photologue photo: TemplateSyntaxError at /newsroom/news/ Caught an exception while render...

photologue django

I am trying to implement the photologue django photo gallery here: http://skam.webfactional.com/blog/2007/08/08/django-based-photo-gallery-tutorial/ I dont understand this part: You need to have the current user’s info outside requests, have a look at CookBookThreadlocalsAndUser and add the middleware in your “MIDDLEWARE_CLASSES” set...

Django Photologue Tutorial

I have a hard time understanding how photologue works exactly. Is anybody aware of a Example Project Tutorial where I can display a gallery via Django-Photologue. Where Imagelinks are stored in a database? Or how can I achieve that in Django? Or what else is out there to create a decent Photo Display? Thanks for the time! ...

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 field, and I can't prepopulate a FileField widget with a file already uploaded, if the user...

django-photologue upload_to

Hi all. I have been playing around with django-photologue for a while, and find this a great alternative to all other image handlings apps out there. One thing though, I also use django-cumulus to push my uploads to my CDN instead of running it on my local machine / server. When I used imagekit, I could always pass a upload_to='whatev...