diff --git a/src/haxe/ru/m/puzzlez/source/PixabaySource.hx b/src/haxe/ru/m/puzzlez/source/PixabaySource.hx index 806a29c..3777ff7 100644 --- a/src/haxe/ru/m/puzzlez/source/PixabaySource.hx +++ b/src/haxe/ru/m/puzzlez/source/PixabaySource.hx @@ -63,7 +63,7 @@ class PixabaySource implements IImageSource { public function getList(?type:PixabayCategory):Promise> { return new JsonLoader() - .GET('${baseUrl}?key=${key}&category=${type}&image_type=${PixabayImageType.PHOTO}') + .GET('${baseUrl}?key=${key}&category=${type}&image_type=${PixabayImageType.PHOTO}&editors_choice=true') .then((response:PixabayResponse) -> { var result = []; for (item in response.hits) { @@ -86,6 +86,6 @@ class PixabaySource implements IImageSource { public function loadImage(id:ImageId, preview:Bool = false):Promise { return getImage(id) - .pipe((data:PixabayImage) -> return new ImageLoader().GET(preview ? data.previewURL : data.largeImageURL)); + .pipe((data:PixabayImage) -> return new ImageLoader().GET(preview ? data.webformatURL : data.largeImageURL)); } }