capturing selected img url; need to add navigation