summaryrefslogtreecommitdiff
path: root/design/templates/details/photo_galleries.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /design/templates/details/photo_galleries.html
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'design/templates/details/photo_galleries.html')
-rw-r--r--design/templates/details/photo_galleries.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/design/templates/details/photo_galleries.html b/design/templates/details/photo_galleries.html
new file mode 100644
index 0000000..e61c9b7
--- /dev/null
+++ b/design/templates/details/photo_galleries.html
@@ -0,0 +1,70 @@
+{% extends 'base.html' %}
+{% load typogrify %}
+{% load number_to_word %}
+
+{% block pagetitle %}{{object.set_title}} - Luxagraf, Photos{% endblock %}
+{%block htmlclass%}class="black"{%endblock%}
+
+
+{% block metadescription %}{{object.meta_description|striptags|safe}}{% endblock %}
+
+{%block bodyid%}class="image_gallery"{%endblock%}
+
+{% block primary %}<ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
+ <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
+ <li><a href="/photos/" title="See all Photos" itemprop="url"><span>Photos</span></a> &rarr;</li>
+ <li>{{object.set_title}}</li>
+ </ul>
+ <p class="directions">Use left/right arrow keys to navigate through photos</p>
+ <section id="slides">
+ <h1 class="hide">Photos from {{object.set_title}}</h1>{%for photo in object.photos.all reversed %}
+ <article id="image-{{forloop.counter}}">
+ <h6><a href="#image-{{forloop.counter}}" class="permalink" title="link to this image">&#8734; {{forloop.counter|number_to_word}} &#8734;</a></h6>
+ <div class="fig"><img src="{{photo.get_local_slideshow_url}}" alt="{{photo.title}}" title="{{photo.title}}" {%if photo.is_portait %}class="v"{%endif%} height="{{photo.slideshowimage_height}}" width="{{photo.slideshowimage_width}}" /></div>
+ <div class="figcaption">
+ <div class="caption" id="id-{{photo.id}}">
+ <h3>{{photo.title}} &nbsp;&nbsp;<time datetime="{{photo.exif_date|date:'c'}}" pubdate>{{photo.exif_date|date:"M j, Y"}}</time></h3>
+ <a class="map-link" href="#" title="{{photo.lat}},{{photo.lon}},id-{{photo.id}}">Map</a>
+ {%if photo.description %}<p>{{photo.description|safe}}</p> {%endif%}
+ </div>
+ <div class="photo-options">
+ <p>{% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}Panasonic GF1 w/{%endif%} {%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}<a href="http://amzn.to/azIr5w" title="buy the {{photo.exif_lens}} on Amazon">Lumix 14-45mm lens</a>{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}<a href="http://amzn.to/daMYOm" title="buy the {{photo.exif_lens}} on Amazon">Lumix 20mm prime lens</a>{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}<a href="http://amzn.to/a9DfV7" title="buy the {{photo.exif_lens}} on Amazon">Lumix 45-200mm lens</a>{%endif%}{%if photo.exif_lens == 'OLYMPUS M.9-18mm F4.0-5.6' %}<a href="http://amzn.to/mGNVkl" title="buy the {{photo.exif_lens}} on Amazon">Olympus 9-18mm lens</a>{%endif%}{%if photo.exif_lens == None %}{%endif%}</p>
+ <p>{{photo.exif_exposure}} sec @ {{photo.exif_aperture}}, ISO {{photo.exif_iso}} </p>
+ <!--<p><a href="{{photo.flickr_link}}" title="View this Photo on Flickr.com">View on Flickr</a></p>-->
+ <!--<a href="#" class="exif-link" title="{{photo.id}}">Camera</a>-->
+ </div>
+
+ {%comment%}
+ <div class="meta" style="display: none;">
+ <dl>
+ <dt>Camera:</dt>
+ <dd>{% if photo.exif_make == 'Canon'%}{{photo.exif_model}}{%endif%}{% if photo.exif_model == 'DMC-LX2'%}{{photo.exif_make}} {{photo.exif_model}}{%endif%}{%if photo.exif_model == 'DMC-GF1' %}<a href="http://amzn.to/cLQozJ" title="Buy on Amazon">{{photo.exif_make}} {{photo.exif_model}}</a>{%endif%}</dd>
+ <dt>Lens: </dt>
+ <dd>{%if photo.exif_lens == 'LUMIX G VARIO 14-45/F3.5-5.6' %}<a href="http://amzn.to/azIr5w" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endif%}{%if photo.exif_lens == 'LUMIX G 20/F1.7' %}<a href="http://amzn.to/daMYOm" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endif%}{%if photo.exif_lens == 'LUMIX G VARIO 45-200/F4.0-5.6' %}<a href="http://amzn.to/a9DfV7" title="buy the {{photo.exif_lens}} on Amazon">{{photo.exif_lens}}</a>{%endif%}{%if photo.exif_lens == None %}Built-in{%endif%}</dd>
+ <dt>Exposure</dt>
+ <dd>{{photo.exif_exposure}}</dd>
+ <dt>Aperture</dt>
+ <dd>{{photo.exif_aperture}}</dd>
+ <dt>Focal Length: </dt>
+ <dd>{{photo.exif_focal_length}}</dd>
+ <dt>ISO: </dt>
+ <dd>{{photo.exif_iso}}</dd>
+ <dt>Comments: </dt>
+ <dd><a href="{{photo.flickr_link}}" title="View this Photo on Flickr.com">View on Flickr</a></dd>
+ </dl>
+ </div>
+ {%endcomment%}
+ </div>
+ </article>
+ {% endfor %}
+ </section>
+{%endblock%}
+
+{% block js %}
+ <script type="text/javascript" src="{{MEDIA_URL}}js/jquery.js"></script>
+ <script type="text/javascript" src="{{MEDIA_URL}}js/jquery.scrollTo-1.4.2-min.js"></script>
+ <script type="text/javascript" src="{{MEDIA_URL}}js/photos.min.js" ></script>
+ <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
+{% endblock%}
+
+