Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File Transfer Extension Capitalisation

ANSWERED

Re https://dev.fitbit.com/guides/communications/file-transfer/, I can send and display images with .jpg extension but not .JPG extension. Not sure if this is to do with the transfer or the display, but I feel that either style should work. If not, doco should mention.

Peter McLennan
Gondwana Software
Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I did some tests, and there is an issue with JPG loading. You can load files with JPG extension in capital cases if it's in lower case in the code. Example:

 

The file image.JPG in my resources folder will load if my code is

<image href="image.jpg" />

but won't load if the code is

<image href="image.JPG" />

Thanks for reporting this, I'll check with the product team.

View best answer in original post

Best Answer
1 REPLY 1

I did some tests, and there is an issue with JPG loading. You can load files with JPG extension in capital cases if it's in lower case in the code. Example:

 

The file image.JPG in my resources folder will load if my code is

<image href="image.jpg" />

but won't load if the code is

<image href="image.JPG" />

Thanks for reporting this, I'll check with the product team.

Best Answer