{
"info": {
"author": "Alex Luton",
"author_email": "gallery@starcross.eu",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": ".. image:: https://img.shields.io/pypi/v/django-starcross-gallery.svg\n :target: https://pypi.python.org/pypi/django-starcross-gallery/\n :alt: PyPI version\n\n.. image:: https://travis-ci.org/Starcross/django-starcross-gallery.svg?branch=master\n :target: https://travis-ci.org/Starcross/django-starcross-gallery\n :alt: Build Status\n\n.. image:: https://coveralls.io/repos/github/Starcross/django-starcross-gallery/badge.svg?branch=master\n :target: https://coveralls.io/github/Starcross/django-starcross-gallery?branch=master\n :alt: Code coverage\n\n=================\nStarcross Gallery\n=================\n\nStarcross Gallery is a streamlined photo gallery Django app. Key features are:\n\n* Justified image grid display, as used on sites like Flickr\n* Infinite scroll\n* Easy drag and drop upload\n* Straightforward object model - All metadata is pulled from the file including title and exif data\n\nDemo at http://starcross.eu/gallery\n\nQuick start\n-----------\n\n1. Install Starcross gallery using pip::\n\n pip install django-starcross-gallery\n\n2. Add \"gallery\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'gallery',\n ]\n\n3. Include the gallery URLconf in your project urls.py like this with your preferred location e.g. \"gallery/\"::\n\n path('gallery/', include('gallery.urls')),\n\n4. Ensure a `MEDIA directory `_ is set up\n\n5. Run ``python manage.py makemigrations gallery``, then ``python manage.py migrate gallery`` to create the models.\n\n6. Start the development server and create any albums you required in http://127.0.0.1:8000/admin/. It's not necessary to create albums if you prefer just a single image feed\n\n7. Visit http://127.0.0.1:8000/gallery/ to access the gallery. Albums can be added through the django admin interface (/admin)\n\n\nInstructions\n------------\n\nStarcross gallery groups Images into Albums, which enables your to organise your presentation. Add albums via the django admin interface, and drag multiple images into your empty albums in the album page itself. It's also possible to use the gallery as a flat image feed only, which is a view published at /images. All images will be displayed here in descending date order. You can add images here directly as well, but they will not be added to an album.\n\nThe gallery was designed with simplicity of Image management in mind, so titles are derived from the file name. You only need to add albums and then drag your collection into place. The idea is to avoid the need to manage your collection both on the website and on your disk. If you wish to reorganise, you can delete and easily re-upload\n\nImages in albums are ordered by the date the photo was taken if available in the exif data, or failing that the modification date\n\nAlbum order can be specified in the Django admin interface. Support for `django-admin-sortable2 `_ is provided, if you want drag and drop ordering in the admin interface. Just installing the module is all that's required. If you have already added albums you will need to use the `reorder `_ command.\n\nSettings\n--------\n\nOverride these default settings by adding to your settings.py\n\n\n**GALLERY_LOGO_PATH** -- Default: \"gallery/images/starcross.png\"\n\nPath to the header logo within the static directory. If you do not wish to use a logo, override with a blank string\n\n**GALLERY_TITLE** -- Default: \"Gallery\"\n\nThe title of the Gallery shown in the header on the main page and image feed\n\n**GALLERY_FOOTER_INFO** -- Default: \"Starcross Gallery\"\n\nInformation text in the footer\n\n**GALLERY_FOOTER_EMAIL** -- Default: \"gallery@starcross.eu\"\n\nContact email address in the footer. Override with a blank string to hide\n\n**GALLERY_THEME_COLOR** -- Default \"black\"\n\nUse a predefined theme color scheme. Options are black, white, or grey\n\n**GALLERY_THUMBNAIL_SIZE** -- Default: 200\n\nThe target thumbnail height in px. This will vary slightly in rendering due to the justified layout\n\n**GALLERY_PREVIEW_SIZE** -- Default: 1000\n\nThe preview size in px - width or height, whichever is largest. The rendered image size will depend on the size of the browser window, so this should be set high enough to not cause a deterioration in quality\n\n**GALLERY_RESIZE_QUALITY** -- Default: 80\n\nJPEG quality (0-100) of the preview and thumbnail images\n\n**GALLERY_HDPI_FACTOR** -- Default: 2\n\nThe actual preview and thumbnail sizes are multiplied by this number, but rendered according to the quoted value. This enables high dpi displays, such as many mobile devices to show more detail and take advantage of their extra resolution. Some go up to 4x now, so recommended values are 1-4\n\n**GALLERY_IMAGE_MARGIN** -- Default: 6\n\nMargin between thumbnails in px. Some may prefer a less condensed look, so increase this value if your template requires it\n\n\nTroubleshooting\n---------------\n\n**Broken image links after upload**\n\nCheck your MEDIA settings. If the media location on disk is changed, you will need to copy the files in the CACHE directory to the new location, or delete and re-upload the broken images\n\n**Errors during upload**\n\nYour server may have a limit on maximum request size (e.g. client_max_body_size for nginx). This needs to be larger than the combined total of all the images your are uploading at once. Also the timeout may need to be extended as preview and thumbnail caches are generated at the time of upload\n\n**Delay when dragging images into upload box**\n\nIf you are using Firefox on Linux, there can be a delay before the upload box flashes to acknowledge the pending files, proportional to the number of files. You can use another browser such as Chrome if this is inconvenient.\n\nCredits\n-------\n\nStarcross Gallery is by Alex Luton , published under GNU LGPLv3\n\n\nAlbum icon by Google licensed CC BY 3.0\n\nFocal Length icon by Ilaria Bernareggi from the Noun Project\n\nOther image data icons made by Freepik www.flaticon.com licensed by CC 3.0 BY",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://starcross.eu",
"keywords": "",
"license": "GNU LGPLv3",
"maintainer": "",
"maintainer_email": "",
"name": "django-starcross-gallery",
"package_url": "https://pypi.org/project/django-starcross-gallery/",
"platform": "",
"project_url": "https://pypi.org/project/django-starcross-gallery/",
"project_urls": {
"Homepage": "http://starcross.eu"
},
"release_url": "https://pypi.org/project/django-starcross-gallery/1.0.6/",
"requires_dist": null,
"requires_python": "",
"summary": "A streamlined Django gallery app with justified layout, infinite scrolling, and drag & drop uploading",
"version": "1.0.6"
},
"last_serial": 5483002,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "707d410937cebedfcff697d309197d2e",
"sha256": "2a6d2ef4ae37a639ca4afa8e423c2da555549756f785afe4573436517471c8ac"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "707d410937cebedfcff697d309197d2e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25919,
"upload_time": "2018-12-24T19:21:09",
"url": "https://files.pythonhosted.org/packages/13/ae/cd0d71110d8333de1b592b8924e235c126d4a2ed4248e849126b551f37e1/django-starcross-gallery-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "9b755db3da9fa846e4f74d6ea6a78cdb",
"sha256": "2f7ea4c50a80f809a5e83ee21a103f258383282f0f9f91b2635e05118d060f6c"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "9b755db3da9fa846e4f74d6ea6a78cdb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27311,
"upload_time": "2018-12-27T16:22:14",
"url": "https://files.pythonhosted.org/packages/ca/1c/64f0f8234d817ea46acb9be96c2ed8c9a4986fd07cb1256b3184149ed2de/django-starcross-gallery-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "201afd62ebdfc8c9fd771a4dfcad03a5",
"sha256": "76f41bcdaf13c3d1cf7519aa67ded2a6c65726c08341dca41ce073eaebb4eda0"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "201afd62ebdfc8c9fd771a4dfcad03a5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 25386,
"upload_time": "2019-03-12T17:04:28",
"url": "https://files.pythonhosted.org/packages/34/ac/02138c64589bbd85455dd7e5a6ffcfc028ba4c5854fe50e1ccdfac3d5f35/django-starcross-gallery-1.0.2.tar.gz"
}
],
"1.0.4": [
{
"comment_text": "",
"digests": {
"md5": "127020beb3ad2e623c034f6b56da5d3e",
"sha256": "dd01579445958b9d6eea0380653b8578961c4516248d1f8a5a542146787dee1c"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "127020beb3ad2e623c034f6b56da5d3e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 79959,
"upload_time": "2019-06-02T21:04:14",
"url": "https://files.pythonhosted.org/packages/a3/b2/8a895b4bd919f19ca818810e1a086956864eaec94fb116157d821f4b0f7d/django-starcross-gallery-1.0.4.tar.gz"
}
],
"1.0.5": [
{
"comment_text": "",
"digests": {
"md5": "61cb2c8c5184f1935b026870b01aa214",
"sha256": "ddbe8d13e8922aacd30711d1b49ee19009a0b656b310c716347dcb85bcbae29b"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "61cb2c8c5184f1935b026870b01aa214",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 80226,
"upload_time": "2019-06-07T08:30:29",
"url": "https://files.pythonhosted.org/packages/7a/90/3eca2cf24dc19b0487cb4141f5df034215472aab14bbc76d20106723facb/django-starcross-gallery-1.0.5.tar.gz"
}
],
"1.0.6": [
{
"comment_text": "",
"digests": {
"md5": "b43d6edcbbff3cb241d82de749a13e61",
"sha256": "ed204ec45fffcb4934be3b4517ebece22a9cc118f8dd39bc280f1f8be5c3046a"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "b43d6edcbbff3cb241d82de749a13e61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 78423,
"upload_time": "2019-07-03T18:53:16",
"url": "https://files.pythonhosted.org/packages/2d/e9/f65c66aabb9335148bcff3cd4a62db66a3fc4ca368df958d9d253873436c/django-starcross-gallery-1.0.6.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b43d6edcbbff3cb241d82de749a13e61",
"sha256": "ed204ec45fffcb4934be3b4517ebece22a9cc118f8dd39bc280f1f8be5c3046a"
},
"downloads": -1,
"filename": "django-starcross-gallery-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "b43d6edcbbff3cb241d82de749a13e61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 78423,
"upload_time": "2019-07-03T18:53:16",
"url": "https://files.pythonhosted.org/packages/2d/e9/f65c66aabb9335148bcff3cd4a62db66a3fc4ca368df958d9d253873436c/django-starcross-gallery-1.0.6.tar.gz"
}
]
}