New attempt at formatting img