factor device pixel ratio into downloaded image size

This commit is contained in:
Luke Pulverenti 2014-05-23 19:58:28 -04:00
parent 8cadabcbe5
commit 5677ce1011
27 changed files with 295 additions and 195 deletions

View file

@ -161,8 +161,8 @@
var programImages = program.ImageTags || {};
if (programImages.Primary) {
imgUrl = ApiClient.getImageUrl(program.Id, {
height: 160,
imgUrl = ApiClient.getScaledImageUrl(program.Id, {
height: 80,
tag: programImages.Primary,
type: "Primary"
});