This is a unique String ID assigned to this tile and is used (by you) to identify what tile sent what data by your script.
Note that this is case sensitive, and cannot contain any white space.
This settings adjusts how the image is rendered in the view. The titles are quite self explanatory.
Bottom
Bottom Left
Bottom Right
Centre
Left
Right
Scale Aspect Fit
Scale to Fill
Top
Top Left
Top Right
This modifies the size of the button as it appears on your screen. Its units of measurement is tiles. Since each tile that can have its size modified is aware of its surroundings, the numeric steppers used to adjust the tile size will stop you from overlapping with other tiles or going over the edge of the screen.
This tile accepts input in the form of a Base64 encoded image file. The ForceServer has a builtin function called stringifyImage, where you pass it an instance of an image file and it will Base64 encode it for you.
Note that these images cannot be numpy image arrays or anyother non-image file data.
Open, read, and send an image to the image view tile.
image = open("photo.jpg", "r+").read() imgString = self.force.stringifyImage(image) self.force.sendMessage("Jordan's iPhone", "ImageView", imgString)