{ "info": { "author": "David Jean Louis", "author_email": "izimobil@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "djangocms-unitegallery\r\n======================\r\n\r\n.. image:: https://travis-ci.org/izimobil/djangocms-unitegallery.svg?branch=master\r\n :target: https://travis-ci.org/izimobil/djangocms-unitegallery\r\n\r\n.. image:: https://img.shields.io/pypi/l/djangocms-unitegallery.svg\r\n\r\n.. image:: https://img.shields.io/pypi/pyversions/djangocms-unitegallery.svg\r\n\r\n.. image:: https://img.shields.io/badge/django-1.7%20or%20newer-green.svg\r\n\r\n.. image:: https://img.shields.io/badge/djangocms-3%20or%20newer-green.svg\r\n\r\n.. image:: https://img.shields.io/pypi/dm/djangocms-unitegallery.svg\r\n\r\n\r\nA gallery plugin for django CMS that uses the excellent\r\n`Unite Gallery `_ jQuery plugin.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nThis plugin requires `django CMS` 3.0 or higher and `sorl-thumbnail`\r\n12.0 or higher to work.\r\n\r\n* Run ``pip install djangocms-unitegallery``\r\n* Add ``'sorl.thumbnail'`` and ``'djangocms_unitegallery'`` to your ``INSTALLED_APPS``\r\n* Run ``python manage.py migrate``\r\n\r\n.. note::\r\n It's up to you to include jQuery js file in your templates, just make\r\n sure you include it **before** the sekizai ``{% render_block js %}``.\r\n \r\n\r\nConfiguration\r\n-------------\r\n\r\nBy default djangocms-unitegallery generates thumbnails for better perfomance.\r\nThe default behavior is to generate thumbnails by resizing and cropping images\r\nin a square of 250x250 px.\r\n\r\nYou can disable completely the thumbnail generation and leave Unite Gallery\r\nhandles images and preview, or you can change the default size of generated\r\nthumbnails and/or wether the image ratio should be preserved or not::\r\n\r\n DJANGOCMS_UNITEGALLERY_CONFIG = {\r\n 'THUMBNAIL_ENABLED': true,\r\n 'THUMBNAIL_MAX_WIDTH': 250,\r\n 'THUMBNAIL_MAX_HEIGHT': 250,\r\n 'THUMBNAIL_PRESERVE_RATIO': False, \r\n }\r\n\r\nIf you set ``THUMBNAIL_PRESERVE_RATIO`` to ``False``, thumbnails will be\r\ncropped to match the configured width and height.\r\nIf you set ``THUMBNAIL_PRESERVE_RATIO`` to ``True``, thumbnails\r\nwill just be resized to match the configured max width (if image is landscape)\r\nor height (if image is portrait).\r\n\r\n.. note::\r\n Due to Unite Gallery behavior, and depending on configured options, you\r\n are not guaranteed to have the thumbnail size you configured in settings.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/izimobil/djangocms-unitegallery", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "djangocms-unitegallery", "package_url": "https://pypi.org/project/djangocms-unitegallery/", "platform": "OS Independent", "project_url": "https://pypi.org/project/djangocms-unitegallery/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/izimobil/djangocms-unitegallery" }, "release_url": "https://pypi.org/project/djangocms-unitegallery/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "unitegallery grid Plugin for django CMS", "version": "0.1.0" }, "last_serial": 2014170, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "47f77861fa46b1de9cc234c0e27828ca", "sha256": "5c2fb0ee45ee0b395835fa337435b43a1deb7d77afbbe0fe47654dd43507322a" }, "downloads": -1, "filename": "djangocms_unitegallery-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "47f77861fa46b1de9cc234c0e27828ca", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 457099, "upload_time": "2016-03-18T12:12:57", "url": "https://files.pythonhosted.org/packages/ab/d0/7d44f6c8dcd2e1ec1951cabc5a3e0e7b00f61dc3fe38be691553caef35f1/djangocms_unitegallery-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8654feb63bcdd7893459824c044557f9", "sha256": "738ebbb7f13e1e04111f4e10ccf5af7a606ee1e76e8553b583ddb379c726ef55" }, "downloads": -1, "filename": "djangocms-unitegallery-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8654feb63bcdd7893459824c044557f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 412246, "upload_time": "2016-03-18T12:12:33", "url": "https://files.pythonhosted.org/packages/27/44/e273b36281e1a2ab5a84c60edeb30daed0726826a80c567c5158868589a1/djangocms-unitegallery-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "47f77861fa46b1de9cc234c0e27828ca", "sha256": "5c2fb0ee45ee0b395835fa337435b43a1deb7d77afbbe0fe47654dd43507322a" }, "downloads": -1, "filename": "djangocms_unitegallery-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "47f77861fa46b1de9cc234c0e27828ca", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 457099, "upload_time": "2016-03-18T12:12:57", "url": "https://files.pythonhosted.org/packages/ab/d0/7d44f6c8dcd2e1ec1951cabc5a3e0e7b00f61dc3fe38be691553caef35f1/djangocms_unitegallery-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8654feb63bcdd7893459824c044557f9", "sha256": "738ebbb7f13e1e04111f4e10ccf5af7a606ee1e76e8553b583ddb379c726ef55" }, "downloads": -1, "filename": "djangocms-unitegallery-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8654feb63bcdd7893459824c044557f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 412246, "upload_time": "2016-03-18T12:12:33", "url": "https://files.pythonhosted.org/packages/27/44/e273b36281e1a2ab5a84c60edeb30daed0726826a80c567c5158868589a1/djangocms-unitegallery-0.1.0.tar.gz" } ] }