Community Questions & Answers

Can't use base64 in an image

How can i use base64 code in an image? ~~~ var dp = Ti.UI.createImageView({ image:'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdp AAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALqADAAQAAAABAAAAKwAA...

Work with Image Gallery

Hello everyone, I wanted to know if with the latest SDK of Titanium (now 3.4.1) and Apple (now iOS 8 SDK) we can perform more actions on the images I would be interested to know: - Name full image - Extension image - Creation dates image - Ability to...

Background Images in Android

I have a background image with logo. I want to appear that logo same of very device proportionally. It works well with samsung s4. But when I am trying of nexus 5 its compressing. and when I am testing in HTC one its stretching. I have tried...

Container not resize correctly

I'm creating some container and images calculating the dimension with the displlay width. On iPhone and iPad this works well but on android is not working... This is the code: ~~~ var header_cont = Titanium.UI.createView({ top:'0%', ...

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...

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