Added orientation css class to inline image wrapper, refactored wrapper max-width so it isn't set when not needed