コード例 #1
0
        private static string GetPlaceholderImageUrl(
            ImageSize imageSize)
        {
            string sizeFolder = imageSize.GetCorrespondingFolder();

            return($"https://s3.eu-west-2.amazonaws.com/bejebeje.com/artist-images/{sizeFolder}/artist-placeholder");
        }
コード例 #2
0
        private static string BuildS3ImageUrl(
            int artistId,
            ImageSize imageSize)
        {
            string size = imageSize.GetCorrespondingFolder();

            return($"https://s3.eu-west-2.amazonaws.com/bejebeje.com/artist-images/{artistId}-{size}");
        }