Added option to add thumbnail and large image