created an included snippet for repeating code in collection pages
merged image and text arrays, removed repeating code to snippet