get length of hidden image