Loaded the input images through getJSON