Changeset 2142 for WAeUP_SRP/trunk
- Timestamp:
- 21 Aug 2007, 18:47:19 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2137 r2142 1529 1529 else: 1530 1530 image = open(file_path) 1531 from OFS.Image import getImageInfo as g ia1531 from OFS.Image import getImageInfo as getImageInfoOFS 1532 1532 image.seek(0) 1533 data = image.read(2 40)1533 data = image.read(2000) 1534 1534 size = len(data) 1535 1535 empty_file = size == 0 … … 1537 1537 last_modified = '' 1538 1538 image.close() 1539 mimetype, width, height = gia(data) 1540 #import pdb;pdb.set_trace() 1539 mimetype, width, height = getImageInfoOFS(data) 1541 1540 1542 1541 if width < 0: -
WAeUP_SRP/trunk/profiles/default/layouts/application.xml
r2140 r2142 341 341 <property name="display_width">100</property> 342 342 <property name="display_height">150</property> 343 <property name="allow_resize">True</property> 343 344 </widget> 344 345 <widget name="phone" meta_type="String Widget">
Note: See TracChangeset for help on using the changeset viewer.