Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

can't export annotation image with more than 2 images #14

Closed
johnzw opened this issue Dec 11, 2015 · 3 comments
Closed

can't export annotation image with more than 2 images #14

johnzw opened this issue Dec 11, 2015 · 3 comments

Comments

@johnzw
Copy link

johnzw commented Dec 11, 2015

when I put more than 2 images in the imageURLs field in the json file, I can only view the first two images when I visit index.html. I can view all the other images by clicking "Next" though.

The problem is: I can annotate the first two images and export the annotation pictures. But as for the other images, I am able to annotate the image, but not able to export it: There is no response when I click the "export" button.

How can I solve this issue?

p.s. The browser I use is Firefox(v42.0 Mac). index.html appeared to be blank with Chrome(v47.0 Mac) and Safari(v9.0).

Thanks,
john

@kyamagu
Copy link
Owner

kyamagu commented Dec 11, 2015

@johnzw How did you prepare your data JSON file? Does it look similar to data/example.json?

@jorgyz
Copy link

jorgyz commented Feb 27, 2016

I was having this issue as well. To fix it, open your json file and add an entry in "annotationURLs" corresponding to each of the entries in imageURLs. It does not matter that the annotation images do not exist -- the script will just use the file names you enter in annotationURLs as the file name for the exported images. The export button should now work.

@rosdyana
Copy link

Hi,

In case the images more than 10 and it will be not good to write one by one, I wrote a script to generate json here : https://gist.github.com/rosdyana/1344d8dc9380c34e9128381d72b8830e

@kyamagu kyamagu closed this as completed May 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants