Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot insert images (mobile)

When I try to embed an image on Android and select from the album, I get a red "Error  code: invalid file type"  and it does not work.

(File was a simple screenshot ~80k, cropped using the Google photos tool).

0 Kudos
Message 1 of 11
(4,496 Views)

Hi altenbach,

Thank you for bringing this to our attention. Our team is investigating this issue. However, we are unable to reproduce this issue on Android 9 and 6.0.1. Can you please give us the browser you are using to help us in reproducing this issue?

 

 


Best Regards,
Kristi Martinez
NI Community Support
0 Kudos
Message 2 of 11
(4,322 Views)

It works for camera images in the album.

 

Steps (after cropping the image).

  1. Click insert image button in toolbar.
  2. image browser opens showing camera images
  3. click on "browse" tile (top, second from left).
  4. Image browser now showing screenshots (power+Volume down, then crop in google photos).
  5. Select image.
  6. Poof! Error.

Android 8.1.0

Chrome 80.0.3987.18 (beta)

 

(I'll attach the file later from mobile)

0 Kudos
Message 3 of 11
(4,311 Views)

@altenbach wrote:

 

(I'll attach the file later from mobile)


Sorry, can't. When I select the image as attachment, it shows fine, but when I try to post, the page refreshes, the post is still in edit mode, and the attachment has disappeared.

 

Permissions: Chrome is allowed to access "storage" among other things)

0 Kudos
Message 4 of 11
(4,304 Views)

OK, I e-mailed me the picture and was trying to attach it here on Windows:

 

altenbach_1-1576868949185.png

 

Zipped it up.... see if this attaches. Haven't studied the file in binary, but maybe the google photos crop tool might create a file in a unique png flavor?  I'll play around with the file...

 

 

0 Kudos
Message 5 of 11
(4,302 Views)

Hi altenbach, 

Thanks for the additional information. We will look into it. 

 


Best Regards,
Kristi Martinez
NI Community Support
0 Kudos
Message 6 of 11
(4,297 Views)

OK, we can blame the photo editor on android (google photos). It actually creates a JPG file with a PNG extension. 😞

 

Even LabVIEW cannot read it as png.

 

altenbach_3-1576869729857.png

 

But if I use "read jpeg file", it works!

 

altenbach_2-1576869677202.png

 

Regular browsers display things just fine, even if the extension is wrong, but the "forum file validator" insists that filetype and extension match.

 

Valid security measure? Too restrictive? 

 

0 Kudos
Message 7 of 11
(4,295 Views)

In summary

 

On android:

  • regular camera picture are jpg. They attach and insert fine!
  • Screenshots (power+volume down) are png. They attach and insert fine!
  • Crop tool works on all pictures. (jpg, png,... )
  • Cropped images are always jpeg
  • Crop tool leaves original extension (*.jpg, *.png)
  • A jpg file with png extension is rejected by the forum. (But accepted by browsers and photo editing software)
  • ...
0 Kudos
Message 8 of 11
(4,291 Views)

It is very important to me that I can attach cropped images. (Full phone screenshots are wasteful and might contains private info not relevant to the discussion!). We need to find a solution. (... and no, I don't want to clutter my phone with other image apps!)

0 Kudos
Message 9 of 11
(4,285 Views)

Hi altenbach,

We have confirmed this is a bug in our community system and are working with our community provider to identify a solution. We will keep you updated with any new information.


Best Regards,
Kristi Martinez
NI Community Support
Message 10 of 11
(4,281 Views)