changed js api search to media and loaded individual icons for each pict...

...ure