{ "info": { "author": "Franck Barbenoire", "author_email": "fbarbenoire@yahoo.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Author\r\n======\r\n\r\nFranck Barbenoire \r\n\r\nSoftware version\r\n================\r\n\r\nVersion 0.1.1, November 4th, 2012.\r\n\r\nLicense\r\n=======\r\n\r\nThis software is released under GPL v3 license :\r\n\r\nhttp://www.gnu.org/licenses/gpl-3.0.html \r\n\r\nIntroduction\r\n============\r\n\r\nDjango-openzoom is a django application for displaying an image you can zoom in. It is based on the flash panorama viewer `OpenZoom `_ from Daniel Gasienica.\r\nAll the necessary flash files are embedded whithin the application as static files.\r\n\r\nBefore you can use the application, you must fill a directory tree with images respecting the `DeepZoom `_ format .\r\nIn the open source world, you can use `Python Deep Zoom Tools `_ for that task. It converts an image file into lots of image tiles.\r\n\r\nInstalling the application\r\n==========================\r\n\r\nThe OpenZoom application does not require any other application to be installed.\r\n\r\n* insert the saladoplayer application in the INSTALLED_APPS tuple in your project settings.py::\r\n\r\n INSTALLED_APPS = (\r\n ...\r\n openzoom,\r\n ...\r\n )\r\n\r\n* insert the openzoom.contextprocessor.settings in the TEMPLATE_CONTEXT_PROCESSORS tuple in your project settings.py::\r\n\r\n TEMPLATE_CONTEXT_PROCESSORS = (\r\n ...\r\n openzoom.context_processor.settings,\r\n ...\r\n )\r\n\r\n* modify the following symbols in settings.py:\r\n\r\n * OPENZOOM_FLASH_SECURE.This is a boolean value. It controls whether to use \"alway\" or \"sameDomain\" for the AllowScriptAccess parameter (see `Control access to scripts \\| Host web page `_ page from Adobe for some more explanations about this). When the value is True, \"sameDomain\" is used.\r\n * OPENZOOM_STATIC_URL. This is a string value. Its value is the panorama url root.\r\n\r\nUsing the templates\r\n===================\r\n\r\nYou can use the following templates tags for including them in your own templates :\r\n\r\n* before using the templates, insert this in your html page::\r\n\r\n {% load openzoom %}\r\n\r\n* **openzoomscript**. This template tag must inserted in the header part of the html page. Its arguments are as follows :\r\n\r\n * **directory**. This is a string argument. This is the tour id of the tour to be displayed.\r\n * **Height**. This is an integer argument. This is the height of the\r\nSaladoPlayer window.\r\n * **Width**. This is an integer argument. This is the width of the SaladoPlayer window::\r\n\r\n {% openzoomscript directory height width %}\r\n\r\n This is how the path is organized : OPENZOOM_STATIC_URL//.xml\r\n\r\n* **openzoomdiv** : There is no argument. This template tag must inserted in the body part of the html page where you want the image to appear. It inserts a div html tag which id is \"OpenZoom\"::\r\n\r\n {% openzoomdiv %}\r\n\r\nExample\r\n=======\r\n\r\nhttp://django-applis.franck-barbenoire.fr/openzoom/lechat/\r\n\r\nTips\r\n====\r\n\r\nHere are some tips and common mistakes.\r\n\r\nWhen working with a remote host :\r\n\r\n* Don't forget to collect static files. Then upload these files in a directory so that they can be served by a dedicated server. Read the official documentation about static files ;\r\n\r\n* If you have installed the packages as eggs directories, don't forget to add ``django.template.loaders.eggs.Loader`` to your ``TEMPLATE_LOADERS`` tuple in your settings ;", "description_content_type": null, "docs_url": "https://pythonhosted.org/django-openzoom/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/franckinux/django-openzoom", "keywords": "", "license": "GPL v3", "maintainer": "", "maintainer_email": "", "name": "django-openzoom", "package_url": "https://pypi.org/project/django-openzoom/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-openzoom/", "project_urls": { "Homepage": "https://github.com/franckinux/django-openzoom" }, "release_url": "https://pypi.org/project/django-openzoom/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Django application for displaying very high resolution images", "version": "0.1.1" }, "last_serial": 743345, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "0cea6b26a76bcd4263b79b7a938c7feb", "sha256": "84cb435c144f307d8e63f028d09fbe650fdfb9bbe37ec3b0768552f460744cbd" }, "downloads": -1, "filename": "django-openzoom-0.1.1.tgz", "has_sig": false, "md5_digest": "0cea6b26a76bcd4263b79b7a938c7feb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78994, "upload_time": "2012-11-04T12:11:16", "url": "https://files.pythonhosted.org/packages/a2/be/919b492e21f278d88f69768550b8b2f0c6c53ce7209d51a36097a2322226/django-openzoom-0.1.1.tgz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0cea6b26a76bcd4263b79b7a938c7feb", "sha256": "84cb435c144f307d8e63f028d09fbe650fdfb9bbe37ec3b0768552f460744cbd" }, "downloads": -1, "filename": "django-openzoom-0.1.1.tgz", "has_sig": false, "md5_digest": "0cea6b26a76bcd4263b79b7a938c7feb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78994, "upload_time": "2012-11-04T12:11:16", "url": "https://files.pythonhosted.org/packages/a2/be/919b492e21f278d88f69768550b8b2f0c6c53ce7209d51a36097a2322226/django-openzoom-0.1.1.tgz" } ] }