Show panoramic photos in django
Project description
=============
Documentation
=============
Introduction
============
Integration of `jQuery virtual tour`_ in Django.
One model stores panoramic photo while a number of other models represents
clickable areas in the panorama. Included areas can show HTML block (using
tinymce) or display another url in a iframe.
gisa.buildingmaps integrates with this application giving one extra area to
allow navigating locations (virtual tour experience).
Install
=======
- Install django-panorama egg with pip, buildout, or whathever
- Add 'panorama' to your INSTALLED_APPS
- Add panorama urls to your project urls:
(r'^panoramas/', include('panorama.urls')),
- Run syncdb
- Overwrite panoramas default template: templates/panorama/base.html
This app uses django-multilingual. For this to work, you need to define
available languages in your settings.py. Example:
LANGUAGES = (
('en', 'English'),
('eu', 'Euskara'),
('es', 'Castellano'),
)
DEFAULT_LANGUAGE = 1 # for django-multilingual, set first language (eu) as default
Usage
=====
To show a panorama model in templates:
{% load panorama %}
{% show_panorama panorama_object %}
You can also define a starting position to the panorama, in pixels from the
right:
{% show_panorama panorama_object 100%}
.. _jQuery virtual tour: http://www.openstudio.fr/jQuery-virtual-tour.html?lang=en
Changelog
=========
1.0 - 2011/01/20
----------------
* Upgraded to django 1.3
* Add suport for jquery virtual tour, a enhancement of jquery.panorama
* Support for notes and external links through jquery virtual tour
* Renamed from gisa.panorama to django-panorama
* Dropped namespace package gisa
* Added some tests
* Use generic views
* Simplify urls
* Improved templates
* Migrated from multilingual to multilingual-ng
* Add some documentation
0.1 - Unreleased
----------------
* Initial release
* Basic Support for panoramic images
* Templatetag to display image
Documentation
=============
Introduction
============
Integration of `jQuery virtual tour`_ in Django.
One model stores panoramic photo while a number of other models represents
clickable areas in the panorama. Included areas can show HTML block (using
tinymce) or display another url in a iframe.
gisa.buildingmaps integrates with this application giving one extra area to
allow navigating locations (virtual tour experience).
Install
=======
- Install django-panorama egg with pip, buildout, or whathever
- Add 'panorama' to your INSTALLED_APPS
- Add panorama urls to your project urls:
(r'^panoramas/', include('panorama.urls')),
- Run syncdb
- Overwrite panoramas default template: templates/panorama/base.html
This app uses django-multilingual. For this to work, you need to define
available languages in your settings.py. Example:
LANGUAGES = (
('en', 'English'),
('eu', 'Euskara'),
('es', 'Castellano'),
)
DEFAULT_LANGUAGE = 1 # for django-multilingual, set first language (eu) as default
Usage
=====
To show a panorama model in templates:
{% load panorama %}
{% show_panorama panorama_object %}
You can also define a starting position to the panorama, in pixels from the
right:
{% show_panorama panorama_object 100%}
.. _jQuery virtual tour: http://www.openstudio.fr/jQuery-virtual-tour.html?lang=en
Changelog
=========
1.0 - 2011/01/20
----------------
* Upgraded to django 1.3
* Add suport for jquery virtual tour, a enhancement of jquery.panorama
* Support for notes and external links through jquery virtual tour
* Renamed from gisa.panorama to django-panorama
* Dropped namespace package gisa
* Added some tests
* Use generic views
* Simplify urls
* Improved templates
* Migrated from multilingual to multilingual-ng
* Add some documentation
0.1 - Unreleased
----------------
* Initial release
* Basic Support for panoramic images
* Templatetag to display image
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-panorama-1.0.tar.gz
(236.7 kB
view hashes)