Use cloudinary
This commit is contained in:
@@ -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/")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user