Browse files

Consistent <img> html format in readme

Also fix a half finished sentence.
  • Loading branch information...
1 parent 5f871e6 commit 4c69d82acc1ae29f25690e6b076b97dbf9dcf4df @SmileyChris committed Jan 2, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.rst
View
10 README.rst
@@ -49,7 +49,7 @@ Given the following setting::
Template::
{% load thumbnail %}
- <img src="{{ profile.photo|thumbnail_url:'avatar' }}" alt="">
+ <img src="{{ profile.photo|thumbnail_url:'avatar' }}" alt="" />
Python::
@@ -62,7 +62,7 @@ Manually specifying size / options
Template::
{% load thumbnail %}
- <img src="{% thumbnail profile.photo 50x50 crop %}" />
+ <img src="{% thumbnail profile.photo 50x50 crop %}" alt="" />
Python::
@@ -75,7 +75,7 @@ Fields
======
You can use ``ThumbnailerImageField`` (or ``ThumbnailerFileField``) for easier
-access to retrieve or generate thumbnail images, or to .
+access to retrieve or generate thumbnail images.
For example::
@@ -88,7 +88,7 @@ For example::
Accessing the field's predefined alias in a template::
{% load thumbnail %}
- <img src="{{ profile.photo.avatar.url }}" alt="">
+ <img src="{{ profile.photo.avatar.url }}" alt="" />
Accessing the field's predefined alias in Python code::
@@ -130,4 +130,4 @@ Valid thumbnail options are determined by the "thumbnail processors" installed.
See the `reference documentation`__ for a complete list of options provided by
the default thumbnail processors.
-__ http://easy-thumbnails.readthedocs.org/en/latest/ref/processors/
+__ http://easy-thumbnails.readthedocs.org/en/latest/ref/processors/

0 comments on commit 4c69d82

Please sign in to comment.