change images settings to use arrays instead of multiple variables