summaryrefslogtreecommitdiff
path: root/templates/details/photo.html
blob: e477c73499264cef5fc14e15517c330645f36863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{% extends 'base.html' %}
{% load typogrify_tags %}
{% block pagetitle %}Luxagraf | {{object.title|title|smartypants|safe}}{% endblock %}
{% block metadescription %}Luxagraf: Photo, {{object.title}}, Photographer: Scott Gilbertson, Published: {{ object.pub_date|date:"N j, Y" }} {{ object.pub_date|date:"h:i a" }}Camera:{%if object.exif_make%}{%if object.exif_make != 'Canon'%}{{ object.exif_make }}{%endif%} {{ object.exif_model }}{% else %}Canon Powershot S45{%endif%}, Aperture: {%if object.exif_aperture%}{{ object.exif_aperture }}{%else%}Not Recorded{%endif%}, Shutter Speed: {%if object.exif_shutter%}{{ object.exif_shutter }} sec{%else%}Not Recorded{%endif%}, Film Speed: {%if object.exif_iso%}{{ object.exif_iso }} ISO{%else%}Not Recorded{%endif%}.{% endblock %}
{% block date %}{{object.pub_date|date:"F j, Y"}}<span class="small byline">{% if object.location.state.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.location.state.name}}{%else%}{{object.location.name|smartypants|safe}}, {{object.location.state.country.name}}{%endif%}</span>{% endblock %}


				
				{% block title %}{{object.title|smartypants|safe}}{% endblock %}
								
				
                {% block primary %}
				
                <a href="http://flickr.com/photos/luxagraf/{{object.flickr_id}}/" title="View {{object.flickr_title}} on Flickr.com"><img class="flickr-image" src="{{ object.get_medium_url }}" alt="{{object.title}}" title="{{object.title}}" /></a> 
			{% if object.description != 'None' %}
			<p>{{ object.description|smartypants|widont|safe }}</p>
			{%endif %}
			<p>Other Sizes: <a href="{{object.get_large_url}}" title="see large image">Large</a> and
			<a href="http://flickr.com/photo_zoom.gne?id={{object.flickr_id}}&size=o" title="see original image">Original</a></p>
			
                
                
				<div id="extra">
                    
                
                
                    <p>If you enjoy this photo, you can follow along on <a href="http://flickr.com/photos/luxagraf/" title="Flickr" rel="me">Flickr</a>, <a href="http://www.facebook.com/profile.php?id=730956404" title="Facebook" rel="me">Facebook</a>, <a href="http://friendfeed.com/luxagraf" title="friendfeed" rel="me">FriendFeed</a> or by subscribing to the <a href="http://feeds.feedburner.com/luxagraf/blog" title="writing RSS 2.0 feed">RSS Feed</a>. For more about luxagraf, see the <a href="/about/" title="about luxagraf">about page</a>. To get in touch please use the <a href="/contact/" title="contact me">contact form</a> or leave a comment below.</p>
                </div>
                
                <div id="nav">
                    <ul>
                        {% if object.get_previous_published%}
                        <li>
                            <a href="{{ object.get_previous_published.get_absolute_url }}" title=" {{object.get_previous_published.title}}">&laquo;previous</a>
                        </li>
                        {%endif%}
                        {% if object.get_next_published%}
                        <li class="next">
                            <a href="{{ object.get_next_published.get_absolute_url }}" title=" {{object.get_next_published.title}}">next&raquo;</a>
        
                        </li>
                        {%endif%}
                    </ul>
                </div>
                 <h4 id="comment-header">comments</h4>
                 <p>If you'd like to leave a comment, you may do so on <a href="http://flickr.com/photos/luxagraf/{{object.flickr_id}}/" title="leave a comment on Flickr">Flickr</a>.</p>

			{% endblock %}

			
    
{% block sidebar %}
            <div id="sidebar">
                <div id="nav">
                    <ul>
                        {% if object.get_previous_published%}
                        <li>
                            <a href="{{ object.get_previous_published.get_absolute_url }}" title=" {{object.get_previous_published.title}}">&laquo; previous</a>
                        </li>
                        {%endif%}
                        {% if object.get_next_published%}
                        <li class="next">
                            <a href="{{ object.get_next_published.get_absolute_url }}" title=" {{object.get_next_published.title}}">next &raquo;</a>
        
                        </li>
                        {%endif%}
                    </ul>
                </div>
                 
    <div class="blok">
    <h4>Image Data</h4>
	
                <dl class="sidebar meta">
				<dt>Camera:</dt>
				<dd>{%if object.exif_make%}{%if object.exif_make != 'Canon'%}{{ object.exif_make }}{%endif%} {{ object.exif_model }}{% else %}Canon Powershot S45{%endif%}</dd>
				<dt>Aperture:</dt>
				<dd>{%if object.exif_aperture%}{{ object.exif_aperture }}{%else%}Not Recorded{%endif%}</dd>
				<dt>Shutter Speed:</dt>
				<dd>{%if object.exif_shutter%}{{ object.exif_shutter }} sec{%else%}Not Recorded{%endif%}</dd>
				<dt>Film Speed:</dt>
				<dd>{%if object.exif_iso%}{{ object.exif_iso }} ISO{%else%}Not Recorded{%endif%}</dd>
			</dl>
		</div>
            </div>
{% endblock %}