Applying image upload styles to regular file uploads