Skip to content

Commit

Permalink
bigger images
Browse files Browse the repository at this point in the history
  • Loading branch information
markuz committed Feb 21, 2012
1 parent 63bc515 commit 4460733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poster.py
Expand Up @@ -105,7 +105,7 @@ def create_post(self, message):
for image in imagelist[1:]: for image in imagelist[1:]:
if nothumbs: if nothumbs:
thumb = '' thumb = ''
maxwidth = '' size = ''
else: else:
thumbs = 'thumb' thumbs = 'thumb'
maxwidth = min(800, image.width) maxwidth = min(800, image.width)
Expand All @@ -123,7 +123,7 @@ def create_post(self, message):
(image.partial_path,thumb,image.name)) (image.partial_path,thumb,image.name))


post_txt += ("%s<img src='%s' alt='%s' %s />%s")%(linkstart, post_txt += ("%s<img src='%s' alt='%s' %s />%s")%(linkstart,
src,image.name,width, linkend) src,image.name, size, linkend)


blog = Blog() blog = Blog()
blog.sender = message.get_from() blog.sender = message.get_from()
Expand Down

0 comments on commit 4460733

Please sign in to comment.