added functionality to handle if no image style is selected. generates url to original image