MCPcopy Create free account
hub / github.com/dailydotdev/apps / smallPostImage

Function smallPostImage

packages/shared/src/lib/image.ts:288–294  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

286
287export const cloudinaryGiftedPlusModalImage = `https://media.daily.dev/image/upload/s--JNm5gqXz--/f_auto/v1733838699/daily-dev-plus-gift_qosjrm`;
288export const smallPostImage = (url: string): string => {
289 if (!url) {
290 return cloudinaryPostImageCoverPlaceholder;
291 }
292
293 return url.replace('/f_auto,q_auto/', '/c_fill,f_auto,q_auto,w_192/');
294};
295
296export const plusFeaturesImage =
297 'https://media.daily.dev/image/upload/s--c4as3Quw--/f_auto/v1738509922/public/daily.dev%20Plus%20-%20Default';

Callers 1

KeywordManagementFunction · 0.90

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected