diff --git a/edivorce/apps/core/templates/pdf/images_to_pdf.html b/edivorce/apps/core/templates/pdf/images_to_pdf.html
index 8a6da5e5..e6539c7b 100644
--- a/edivorce/apps/core/templates/pdf/images_to_pdf.html
+++ b/edivorce/apps/core/templates/pdf/images_to_pdf.html
@@ -29,7 +29,7 @@
{% for image in images %}
-

+

{% if not forloop.last %}
{% endif %}
diff --git a/edivorce/apps/core/templatetags/format_utils.py b/edivorce/apps/core/templatetags/format_utils.py
index 140718a2..907687de 100644
--- a/edivorce/apps/core/templatetags/format_utils.py
+++ b/edivorce/apps/core/templatetags/format_utils.py
@@ -193,22 +193,6 @@ def agreed_child_support_amount(context, claimant_id, line_breaks=True):
return linebreaksli(context.get('amount_income_over_high_income_limit_{}'.format(claimant_id), ''))
-@register.filter
-def css_rotate(image):
- """ Gets extra CSS needed for image rotation when generating PDFs """
- if image.rotation == 90 or image.rotation == 270:
- height = image.width
- width = image.height
- else:
- height = image.height
- width = image.width
-
- if width == 0 or height/width < 1.3:
- return 'width: 100%'
- else:
- return 'height: 26.7cm'
-
-
@register.filter
def name_you(responses):
""" Gets and formats given_name_1_you, given_name_2_you, given_name_3_you, last_name_you from responses """