added title of image, few tweaks to api