Pushing Data to KOBO (to fix image size)

Hi @caneeraj, if your goal is purely reduced image size, you can access your images in three different sizes already: original, large and small. If you navigate to:

https://KF_URL/api/v2/assets/ASSET_UID/data.json

You can see something like this for each image attachment for each submission:

i.e. the endpoints:

  • https://KC_URL/media/small
  • https://KC_URL/media/large
  • https://KC_URL/media/original

Here’s an example of the different file sizes for a random image:

$ ls -lah *.jpg                                                                                                                 
-rw-r--r--@ 1 josh  staff   223K 17 May 09:42 large.jpg
-rw-r--r--@ 1 josh  staff   1.8M 17 May 09:42 original.jpg
-rw-r--r--@ 1 josh  staff   9.5K 17 May 09:42 small.jpg

If you still need/want to upload your submissions and media from Form A to Form B, this is possible but not trivial. You can take a look at my answers here for that:

Hope that helps.

1 Like