Show More
@@ -67,7 +67,7 b' class AbstractViewer:' | |||||
67 | image = FILE_STUB_IMAGE |
|
67 | image = FILE_STUB_IMAGE | |
68 |
|
68 | |||
69 | return '<a href="{}">'\ |
|
69 | return '<a href="{}">'\ | |
70 | '<img src="{}" width="200" height="150"/>'\ |
|
70 | '<img class="url-image" src="{}" width="200" height="150"/>'\ | |
71 | '</a>'.format(self.file.url, static(image)) |
|
71 | '</a>'.format(self.file.url, static(image)) | |
72 |
|
72 | |||
73 |
|
73 | |||
@@ -145,5 +145,5 b' class UrlViewer(AbstractViewer):' | |||||
145 | '</div>'.format(self.get_format_view()) |
|
145 | '</div>'.format(self.get_format_view()) | |
146 | def get_format_view(self): |
|
146 | def get_format_view(self): | |
147 | return '<a href="{}">' \ |
|
147 | return '<a href="{}">' \ | |
148 | '<img src="{}" width="200" height="150"/>' \ |
|
148 | '<img class="url-image" src="{}" width="200" height="150"/>' \ | |
149 | '</a>'.format(self.url, static(FILE_STUB_URL)) |
|
149 | '</a>'.format(self.url, static(FILE_STUB_URL)) |
General Comments 0
You need to be logged in to leave comments.
Login now