added extra classes to images