Fix example to work directly on img