Image manager for django projects
pip install git+git://github.com/CharlesGarrocho/django-image-manager
-
Add
image_manager
to yourINSTALLED_APPS
insettings.py
; -
Add the path
MEDIA_ROOT
andMEDIA_IMAGES
insettings.py
:
MEDIA_ROOT = '/home/charles/webapps/media/data/'
MEDIA_IMAGES = MEDIA_ROOT + 'images/'
- Defines the type of method will be
GET
orPOST
insettings.py
:
MANAGER_IMAGES_METHOD = 'GET'
- Include url
image_manager
tourls.py
in your app:
urlpatterns = patterns('project_name',
url(r'^image_manager/', include('image_manager.urls')),
)
- Parameters to be used are:
address
what is the address of the image folder andname
what is the name of the image.
- Charles Garrocho