Add other mime support
Fix resize of landscape images