Added images preview to frontend