change carousel size using local image