moved image array to delegate to improve performance
Moved images array to delagate for better performance