This project has moved and is read-only. For the latest updates, please go here.

Image size

Jul 7, 2013 at 3:50 PM
how to get higher resolution images of the Movies?
Jul 19, 2013 at 9:19 PM
Edited Jul 19, 2013 at 9:21 PM
In MoviesViewModel you can change the integer in "tmdbConfig.images.poster_sizes[1]":
public void LoadNowPlaying(int page)
            var facade = new TmdbFacade();

            if (tmdbConfig == null)
                tmdbConfig = facade.GetConfiguration();

            var result = facade.GetNowPlayingMovies(page);
            var baseUrl = string.Format("{0}{1}", tmdbConfig.images.base_url, tmdbConfig.images.poster_sizes[1]);
or anywhere that you construct the image base url
Oct 1, 2013 at 8:16 AM
i m getting error while saving image
 using (System.Net.WebClient webClient = new System.Net.WebClient())
                    string baseurl = string.Format("{0}{1}", config.images.base_url, poster[i].file_path);
                    webClient.DownloadFile(baseurl, SavePath);
erorr: "The remote server returned an error: (400) Bad Request."
when i debug, i get this url
which says "Format not Supported"

any suggestions...
Oct 7, 2013 at 7:04 PM
The image url is a concatenation of :
A valid url is for example:

You can request all availabe image sizes with GetConfiguration method.
Dim Configuration As TmdbConfiguration = Api.GetConfiguration()
Dim BackdropSizes As List(Of String) = Configuration.images.backdrop_sizes
Dim PosterSizes As List(Of String) = Configuration.images.poster_sizes