image Object

You must Login before you can answer or comment on any questions.

Hi,

There is an Image object in javascript (like Date, ....) . can i use it in titanium ?

thanks

1 Answer

Accepted Answer

An image object is an ImageView.

— answered 8 months ago by Anthony Decena
answer permalink
25 Comments
  • You CANNOT use the regular JS image object though.

    — commented 8 months ago by Anthony Decena

  • i have problem with imageView to display like that : http://dzmob.net/photos2.png

    when i specify width. the height is not adapted and proportions are not conserved..

    thanks

    — commented 8 months ago by Djamel ZAHAL

  • Looks like you'll need to provide more info than that. I just tested this with 2 rather large images and only set the width on each image view. Everything scaled properly, I was even able to get the layout just like the image you posted: Scaled Image Stack

    Do you have code? Did you ask this in another question? If so, what was the link to that question?

    — commented 8 months ago by Anthony Decena

  • Show 22 more comments

Your Answer

Think you can help? Login to answer this question!