0

I was storing the full path of an image & retrieved it below, I want to know why does this image file path,doesn't display in imageview on xml? file://localhost/Users/rhez/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/76BDE731-037A-43F8-997B-DAFCA6E0D509/Documents/1372402304473-ea.jpg

<TableView dataCollection="photos">
<TableViewRow id="row" dataId="" model="{id}">
<View id="holderview">
<ImageView id="imageview" url="{path}"></ImageView>
</View>
</TableViewRow>
</TableView>

However as I view in the finder where the application project documents is located the image is stored in there.Is there something wrong on displaying/retrieving on my xml? Thanks for all your courage in helping.

Rh Jov
  • 115
  • 1
  • 11
  • 1
    please incldue the .tss file are you setting height and width – Aaron Saunders Jun 28 '13 at 11:56
  • Hi, I figured it out that in my tss file I set the image height & width is smaller than the actual dimensions of the image so I changed it prior to the image dimensions I uploaded. Thanks! – Rh Jov Jul 01 '13 at 01:21

1 Answers1

0

Try setting the image property, not url, url is deprecated.

<TableView dataCollection="photos">
    <TableViewRow id="row" dataId="" model="{id}">
        <View id="holderview">
            <ImageView id="imageview" image="{path}"></ImageView>
        </View>
    </TableViewRow>
</TableView>
Josiah Hester
  • 6,065
  • 1
  • 24
  • 37