Community Questions & Answers

Image aspect ratio when loading into an ImageView

Since updating to 3.0, I've noticed a problem when loading images into an ImageView while maintaining the image's aspect ratio. Prior to upgrading to 3.0, I could set the maximum width and height and the thumbnail image would automatically scale to fit...

Android Instagram Square Image Cropping

My team and I am trying to get the Android version of of an iOS app up and running. We use allowEditing in the iOS version and everything works great. The problem is Android has no such thing. We need the ability for the user to move around the image and...

Email an Image Help

I'm trying to use createEmailDialog for both Android and iOS and attach an image using addAttachment based on an imageView of an image that I read in from a service (so the file is not actually saved, but is visible on the imageview). Is there any way to...

Emailing a composite image from an Android device

I need to create and then email a composite image - a paint layer imposed onto a photo. It is working on iOS devices, but on Android devices the image is not getting attached to the email. In an attempt to narrow down the problem I'm saving the composite...

image is not printing in the pdf

Hi guys. I'm trying to print the image in the pdf document . Actually pdf and text which i'm giving is printing in the pdf .but the image is not printing in the pdf. for that I wrote the code like this ~~~ var imgData = "/images/a.png"; var...

Move, Scale and Crop an Image

This question is related to **[Crop Image in Preview Screen](http://developer.appcelerator.com/question/175092/crop-image-in-the-preview-screen)** I would like to crop an image in a specified size(320x160). I was able to create a preview screen, which...

Retina images - Titanium Alloy

Hi. A few questions: 1) Where do I store retina images and non retina images? I have read online that they need to be all stored in the iPhone> images directory. However when I do this, the image doesn't show up: $.imageW.image =...

Saving Photo to Logged In User ACS Cloud

I am running into an issue when I am trying to upload a picture from my iphone album and save it to the current logged in user. While I feel like I am saving the image correctly to the cloud, I can't really seem to debug the issue correctly from my phone....

Setting image for a button issue

I am setting image for a button with a background color. The image color is white with a transparent background. When i set this image for a button it appears in blue color. When i am setting this as background image there is no...

images in Android

Hi, i want to display an image in imageView : My imageView : ~~~~ var myImageView = Ti.UI.createImageView({ defaultImage : '/images/default.png', image : '/images/default.png', top : -20 }); ~~~~ In my project : I have an images folder which...

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

Image store and retrieve

Hi, How to store and retrieve image in database through webservice? In database image field type is varchar. I am using alloy framework and titanium sdk version 3.2.2.GA. Please help me. Thanks, Ankita

Replace profile image

Hi there I have a profile image. It shows up fine. I can have the user open the camera or gallery and select a image. But how can I replace the profile image with the new profile image. I am stuck at the bottom of my sample code. Thanks for all...

Showing 1-50 of 1,253 1 2 3 4 5 626