Add auto width/height calculation with image ratio maintenance

- Speicify 'auto' to width or height to let it being auto-generated
- Check options with 'isset' to check passed options
- Add 'baseUrl' to $file_url to prevent 'file not found' in the unusual
path e.g. /demo/uploads/... instead of /uploads/...