Fixed Ajax call for displaying single images in groups