﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Wed, 25 May 2016 05:29:44 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;What about CROS-1141? When will the translation finally be available?&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Fri, 20 May 2016 09:59:20 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Unfortunately it hasn't been supported for iOS platform.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;CROS-1141 has been submitted to Crosslight development team regarding this, to localize ImagePicker context menu under iOS platform. I will keep this thread updated when nightly-build/hotfix is ready to be evaluated.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Thu, 19 May 2016 05:51:59 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Any updates about how to translate under iOS?&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Thu, 12 May 2016 06:41:13 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;AddCaption and EditCaption works on Android and iOS.&lt;/p&gt;&lt;p&gt;However under iOS I was not able to translate the imagepicker context menu. I tried with standard iOS localization (.lproj folder and Localizable.strings) and used the keys given above but it failed.&lt;/p&gt;&lt;p&gt;Please, provide a localization sample for the imagepicker context menu under iOS.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Tue, 10 May 2016 07:41:27 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;How can I translate the text below the image? In your screenshot from the last post it is "edit". In other cases it can be "add photo".&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;&lt;em&gt;AddCaption&lt;/em&gt; and &lt;em&gt;EditCaption&lt;/em&gt; properties of &lt;a href="http://developer.intersoftsolutions.com/display/crosslightapi/ImageAttribute+Class" target="_blank"&gt;ImageAttribute&lt;/a&gt; class are the one that you looking for.&lt;/span&gt;&lt;/p&gt;&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;AddCaption: Gets or sets the caption displayed when the image is not set yet.&lt;/li&gt;&lt;li&gt;EditCaption: Gets or sets the caption displayed when the image is set.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;public class BasicSection
{
    [Editor(EditorType.Image)]
	[Image(Height = 83, Width = 80, Placeholder = "photo.png", Frame = "frame.png", AddCaption = "Foto hinzufügen", EditCaption = "Foto bearbeiten")]
	[ImagePicker(ImageResultMode = ImageResultMode.Both, ActivateCommand = "ActivateImagePickerCommand", PickerResultCommand = "FinishImagePickerCommand", AllowEditing = false)]
    public byte[] ProfilePicture;

    ...
}&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You can also utilize &lt;em&gt;AddCaptionKey&lt;/em&gt; and/or &lt;em&gt;EditCaptionKey&lt;/em&gt; if the text is taken from resources.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Fri, 06 May 2016 08:24:42 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;the localization of the menu works on Android as you described. Thank you.&lt;/p&gt;&lt;p&gt;How can I translate the text below the image? In your screenshot from the last post it is "edit". In other cases it can be "add photo".&lt;/p&gt;&lt;p&gt;I am doing the app on iOS, too. How can I translate the menu and the text below the image on iOS?&lt;/p&gt;&lt;p&gt;Can I do it via standard iOS localization (&lt;a href="https://developer.xamarin.com/guides/ios/advanced_topics/localization_and_internationalization/"&gt;https://developer.xamarin.com/guides/ios/advanced_topics/localization_and_internationalization/&lt;/a&gt;) with the same keys as on Android?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Wed, 04 May 2016 03:10:53 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Sorry for the delay in sending this.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The context menu of the ImagePicker are localizable. Set the resource with following name:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;SelectImage&lt;/li&gt;&lt;li&gt;TakePhoto&lt;/li&gt;&lt;li&gt;ChooseFromGallery&lt;/li&gt;&lt;li&gt;DeleteImage&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For example:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;resources&amp;gt;
  &amp;lt;string name="SelectImage"&amp;gt;Sélectionner l\'image&amp;lt;/string&amp;gt;
  &amp;lt;string name="TakePhoto"&amp;gt;Prendre une photo&amp;lt;/string&amp;gt;
  &amp;lt;string name="ChooseFromGallery"&amp;gt;Choisir parmi la galerie&amp;lt;/string&amp;gt;
  &amp;lt;string name="DeleteImage"&amp;gt;Supprimer la photo&amp;lt;/string&amp;gt;
&amp;lt;/resources&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;will result like following.&lt;/span&gt;&lt;/p&gt;
&lt;img src="http://www.intersoftsolutions.com/Community/Attachments/44697/ImagePickerLocalizable.png" style="height: 768px; width: 461px;"&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Tue, 03 May 2016 18:48:09 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;did you already&amp;nbsp;discuss with the team how to do the translations?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Thu, 28 Apr 2016 07:19:21 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;blockquote&gt;&lt;p&gt;Thank you for the explanation. It works as you described it.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the explanation helps.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;By the way, calling the "Crop App" mostly fails with "Image could not be loaded" error message. Please, fix, too.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;With AllowEditing enabled, calling the "Crop App" from ImagePicker doesn't causing error in my local end. For your information, Crosslight 5.0.5000.626-experimental was used in my test.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please feel free to let me know if you find anything that I might miss during my attempt in order to reproduce the reported problem.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Sorry, I closed this issue to early. This is still open.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;No problem, Thomas. We can keep this thread active until all your questions responded.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;- How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)&lt;/p&gt;&lt;p&gt;- How can I translate the text below the ImagePicker image (edit, add photo)?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I will need to discuss this with Crosslight development team. I will get back to you as soon as possible.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Thu, 28 Apr 2016 06:35:27 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Yudi,&lt;/p&gt;&lt;p&gt;Sorry, I closed this issue to early. This is still open.&lt;/p&gt;&lt;p&gt;Additional questions:&lt;/p&gt;&lt;p&gt;- How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)&lt;/p&gt;&lt;p&gt;- How can I translate the text below the ImagePicker image (edit, add photo)?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Form Builder - ImagePicker</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Form-Builder---ImagePicker/</link><pubDate>Fri, 22 Apr 2016 10:47:47 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;I have some issues with Crosslight Form Builder. I found these issues on Android, they may appear on iOS as well.&lt;/p&gt;&lt;p&gt;I used the latest stable Crosslight assemblies and my test device is Motorola E2 API 21.&lt;/p&gt;&lt;p&gt;Scenario 1:&lt;br&gt;I used the basic form builder sample and played around with the ImagePicker. In ImagePicker.Form I have the following: &lt;/p&gt;&lt;p&gt;[ImagePicker(ImageResultMode = ImageResultMode.Both, ActivateCommand = "ActivateImagePickerCommand", PickerResultCommand = "FinishImagePickerCommand", AllowEditing = false)]&lt;/p&gt;&lt;p&gt;In the belonging ViewModel, I implemented "FinishImagePickerCommand". I start the app, go to ImagePicker, click on the image and select "Take Photo". I take a picture, confirm the picture and I hit "ExecuteFinishImagePickerCommand". I receive "ImagePickerResultParameter" as parameter. Looking at the "Result" property of the "ImagePickerResultParameter", I see that it is "null" (screenshot scenario1). "Choose From Gallery" returns the same result.&lt;/p&gt;&lt;p&gt;This seems to be a bug. I need the ImageData and the ThumbnailImageData for further processing. Please, fix.&lt;/p&gt;&lt;p&gt;Scenario 2:&lt;br&gt;Almost the same as above. But now I want to allow editing of the taken picture (AllowEditing = true).&lt;/p&gt;&lt;p&gt;After cropping the taken photo, I hit "ExecuteFinishImagePickerCommand". I receive "ImagePickerResultParameter" as parameter. Looking at the "Result" property of the "ImagePickerResultParameter", I see that ImageData and ThumbnailImageData have the same size (screenshot scenario2). "Choose From Gallery" returns the same result.&lt;/p&gt;&lt;p&gt;This seems to be a bug. I need the original sized photo in ImageData not the ThumbnailImageData. Please, fix.&lt;/p&gt;&lt;p&gt;By the way, calling the "Crop App" mostly fails with "Image could not be loaded" error message. Please, fix, too.&lt;/p&gt;&lt;p&gt;Additional questions:&lt;/p&gt;&lt;p&gt;- How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)&lt;/p&gt;&lt;p&gt;- How can I translate the text below the ImagePicker image (edit, add photo)?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>