get img max-width dynamically via width at load