setting imageplacement and sizing