[kupu-checkins] r43521 - kupu/trunk/kupu/plone
duncan at codespeak.net
duncan at codespeak.net
Mon May 21 10:22:58 CEST 2007
Author: duncan
Date: Mon May 21 10:22:57 2007
New Revision: 43521
Modified:
kupu/trunk/kupu/plone/html2captioned.py
Log:
Scaled images picked up size of original image in captioning code.
Modified: kupu/trunk/kupu/plone/html2captioned.py
==============================================================================
--- kupu/trunk/kupu/plone/html2captioned.py (original)
+++ kupu/trunk/kupu/plone/html2captioned.py Mon May 21 10:22:57 2007
@@ -141,7 +141,7 @@
if hasattr(aq_base(subtarget), 'getWidth'):
width = subtarget.getWidth()
elif hasattr(aq_base(subtarget), 'width'):
- width = subtarget.getWidth()
+ width = subtarget.width
if not width:
try:
width = target.getWidth()
More information about the kupu-checkins
mailing list