fixed geturl query, added show image functionality