Pull requests

#2 Open
Repository
UrielArg/django-watermark-posfix django-watermark-posfix
Branch
default
Repository
codekoala/django-watermark django-watermark
Branch
default

fixed positioning bug after resize

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/UrielArg/django-watermark-posfix
Author
  1. uriel mehamed
Reviewers
Description

Position is being calculated twice, once in templatetags/watermark.py calling utils.py determine_position function, and later when create_watermark uses utils.watermark. The first one is calculated not accounting the resize, and if first is done second won't calculate anything. So I've commented when first determine_position value is assigned to position kwarg (it's done twice, I've commented both).

Comments (0)