image button picks the uploaded resources