Commits

Ales Zabala Alava  committed 448276b

Add a example using WATERMARK_PARAMS

  • Participants
  • Parent commits de57508

Comments (0)

Files changed (1)

 
   Looks for a watermark called "w00t", tiles it across the entire target image,
   at a transparency level of 40%.
+
+* ``{{ image_url|watermark:"sitewatermark" }}``
+
+  Takes parameters from ``WATERMARK_PARAMS`` settings (assuming that
+  settings has a key named ``sitewatermark``) and uses the parameters
+  definted there. If the setting is defined as the example in the
+  Configuration section, then looks for a watermark named "watermark name",
+  place it in the top-right corner of the target image, using a 35%
+  transparency level.