change images add trigger to a separate function instead of an anonymous function
limit live tags to 30