items are now done and pictures resize on serverside automagically

This commit is contained in:
Senad Uka
2015-04-12 11:11:26 +02:00
parent 8197104040
commit ea2837bd00
5 changed files with 39 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ var fetchItemWithDetails = function() {
item.fetch({
success: function() {
_images = (_itemWithDetails.get("multi_media_descriptions") || []).map(function(mmd) {
return mmd.url;
return mmd.resized_url;
});
_count = _images.length;
_currentImage = 0;