Handle case of external storage + inline display
handle case of trailing slash in URL
fix external image storage and display
fixed display of external storage and inline display images