backing out image duration stuff