Use cloudinary

This commit is contained in:
Edin Dazdarevic
2017-04-10 02:50:40 +02:00
parent 5f4e3a01d3
commit 738720aa13
7 changed files with 72 additions and 39 deletions

View File

@@ -12,3 +12,11 @@ export const formatFilterNumber = (num) => {
}
return num;
}
export const galleryImageUrl = (img) =>
img && img.replace("upload/", "upload/w_500/")
export const listingImageUrl = (img) =>
img && img.replace("upload/", "upload/w_205/")