/// <summary> /// Uri to the poster image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size) { return Utilities.Extensions.MakeImageUri(size.ToString(), PosterPath); }
/// <summary> /// Uri to the poster image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size) { return(Utilities.Extensions.MakeImageUri(size.ToString(), PosterPath)); }
/// <summary> /// Uri to the poster image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size = PosterSize.w342) { return(Extensions.MakeImageUri(size.ToString(), PosterPath)); }
/// <summary> /// Uri to the profile image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size) { return(Extensions.MakeImageUri(size.ToString(), FilePath)); }
/// <summary> /// Uri to the poster image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size = PosterSize.w342) { return Extensions.MakeImageUri(size.ToString(), PosterPath); }
public static string ImageFullPath_Query(string posterPath, PosterSize posterSize) { return(!String.IsNullOrEmpty(posterPath) ? $"http://image.tmdb.org/t/p/{posterSize.ToString()}{posterPath}" : ApiHelper.PathBackdrop); }
private static string buildPosterPath(string path, string filename, PosterSize size) { return makePathStringSafe(path) + @"\" + filename + size.ToString() + ".jpg"; }
/// <summary> /// Uri to the profile image. /// </summary> /// <param name="size">The size for the image as required</param> /// <returns>The uri to the sized image</returns> public Uri Uri(PosterSize size) { return Extensions.MakeImageUri(size.ToString(), FilePath); }
public Uri CreatePosterLink(string partPath, PosterSize posterSize = PosterSize.w500) => CreateImageLink(partPath, posterSize.ToString());
private Uri Uri(PosterSize size) { return(MakeImageUri(size.ToString(), PosterPath)); }