Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

URL Property Image

Hi

I have a large table with a lot of rows with one picture per row. The picture is online (remote), so I use the url property.
But Titanium tells me:

>[WARN] the 'url' property on ImageView has been deprecated. Please use 'image' instead

When I use the image property, it also works, but the order of the pictures isn't correct. So the pictures just switched the places.. don't know why.
When I use the url property, the borders aren't round…

Would be great if somebody knows, how to fix it.

Thank you!
Felix

— asked October 25th 2010 by Felix Krause
  • image
  • iphone
  • remote
  • round
  • row
  • table
  • url
0 Comments

3 Answers

  • Accepted Answer

    Have you tried the examples in the KitchenSink? There is one similar to the scenario you describe in table_view_layout_5.js. See if this exhibits the issue you are experiencing.

    — answered November 6th 2010 by Paul Dowsett
    permalink
    5 Comments
    • Hi
      Yes I tried the example… but the example doesn't work too. Look at the images shown by the app and the urls… the order isn't correct.

      — commented November 6th 2010 by Felix Krause
    • I just looked at that sample and the images are in the correct order. What version of the mobile SDK are you using?

      — commented November 6th 2010 by John McKnight
    • I have also verified that using the android emulator, the images are in the correct order. Felix, try installing the latest build.

      Cheers

      — commented November 6th 2010 by Paul Dowsett
    • Felix - you were right, it looks like quite an old bug, filed as #1156.

      — commented November 6th 2010 by Paul Dowsett
    • Oh. You're right. I used 1.4.1. Thank you so much for your great help! Now it works perfectly!

      — commented November 6th 2010 by Felix Krause
  • Nobody has got the same problem?

    — answered October 27th 2010 by Felix Krause
    permalink
    0 Comments
  • Please help me..

    — answered November 6th 2010 by Felix Krause
    permalink
    3 Comments
    • Please post your code, Felix. Try github gist.

      Without this info, any help is pure speculation.

      — commented November 6th 2010 by Paul Dowsett
    • btw, the best way to get answers is to formulate the simplest, shortest code that demonstrates your issue. If it transpires to be a bug, the Ti devs can then use it as a usecase, to test their fixes.

      — commented November 6th 2010 by Paul Dowsett
    • I'm sorry! The best example ist the example given by Titanium: https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/table_view_layout_5.js
      You can see, the images aren't in the correct order.

      — commented November 6th 2010 by Felix Krause
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.