Hmm, If we’re looking at the same object (and I think we are), then both of those are in there, but they’re mashed into one property:
Object
caption: null
date: "June 9, 2011 12:22 pm"
directory: "1"
field_1: null
field_1_fmt: "xhtml"
field_2: null
field_2_fmt: "xhtml"
field_3: null
field_3_fmt: "xhtml"
field_4: null
field_4_fmt: "xhtml"
field_5: null
field_5_fmt: "xhtml"
field_6: null
field_6_fmt: "xhtml"
file_hw_original: "960 1280"
file_id: "143"
file_name: "77335_4871.jpg"
file_size: "594.8 KB"
img_id: "9"
is_image: true
metadata: null
mime_type: "image/jpeg"
modified_by_member_id: "1"
modified_date: "1307636566"
name: "77335_4871.jpg"
rel_path: "/Users/wes/Development/expressionengine2/images/uploads/77335_4871.jpg"
short_name: "77335_…871.jpg"
site_id: "1"
status: "o"
thumb: "http://expressionengine2/images/uploads/_thumb/77335_4871.jpg"
thumb_class: "image"
title: "77335_4871.jpg"
upload_date: "1307636566"
upload_location_id: "1"
uploaded_by_member_id: "1"
If you look for file_hw_original, it has the height and width in one string and it just needs to split on the space. We’re planning on eventually having both dimensions be separate items, but I’m not sure when that’ll come about.
Wes
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.