1. Ian Struble
  2. django-loupe

Commits

Greg Newman  committed 58d80a3

readme update

  • Participants
  • Parent commits 531f480
  • Branches default

Comments (0)

Files changed (1)

File README.rst

View file
 1. Put ``loupe`` to your ``INSTALLED_APPS`` in your ``settings.py``
    within your django project.
 
+2.  Add the following to your settings.py or local_settings.py and adjust it to your liking
+
+LOUPE_RESIZE_THUMB_WIDTH = 100 # Width in pixels of the thumbnail
+LOUPE_RESIZE_THUMB_HEIGHT  = 75 # Height in pixels of the thumbnail
+LOUPE_RESIZE_THUMB_CROP = True # Crop thubmnails? True or False
+LOUPE_RESIZE_DISPLAY_WIDTH = 800 # Width in pixels of the display size (not full size image)
+LOUPE_PRE_CACHE_IMAGES = True # Pre-cache images on upload? True or False
+LOUPE_INCREMENT_COUNT = True # Increment the view count on images? True or False
+
 
 Features:
 =========