renderTemplate("api/internet/images.json", data);
} else if(SearchType.VIDEOS.name().equals(type.toUpperCase())) {
YouTubeClient client = new YouTubeClient();
View.header("Get Videos");
// build URL for the video feed for "search stories"
YouTubeUrl url = YouTubeUrl.forVideosFeed();
url.q = q;
url.maxResults = limit;
//Youtube api's offset starts at 1.
offset++;
url.startIndex = offset;