add extension to image swrl