Skip to content

Commit

Permalink
added width and height for leadimage
Browse files Browse the repository at this point in the history
  • Loading branch information
agitator committed Aug 20, 2013
1 parent b02df0a commit c9463c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plone/app/contenttypes/behaviors/leadimage.pt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="leadImage"
tal:condition="view/available">
<img tal:define="scale context/@@images"
tal:replace="structure python: scale.scale('image').tag(css_class='newsImage')" />
tal:replace="structure python: scale.scale('image', width=200, height=200).tag(css_class='newsImage')" />
</div>

1 comment on commit c9463c4

@mister-roboto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing information:

Please sign in to comment.