diff --git a/.replit b/.replit index c38aaa8..ffeb98a 100644 --- a/.replit +++ b/.replit @@ -18,10 +18,6 @@ externalPort = 80 localPort = 5555 externalPort = 3002 -[[ports]] -localPort = 39327 -externalPort = 3003 - [[ports]] localPort = 40537 externalPort = 3000 diff --git a/attached_assets/image_1759404885880.png b/attached_assets/image_1759404885880.png new file mode 100644 index 0000000..103bb75 Binary files /dev/null and b/attached_assets/image_1759404885880.png differ diff --git a/attached_assets/image_1759404899504.png b/attached_assets/image_1759404899504.png new file mode 100644 index 0000000..9cc3a76 Binary files /dev/null and b/attached_assets/image_1759404899504.png differ diff --git a/server/services/cloudinary.ts b/server/services/cloudinary.ts index 5668ff4..9e18d69 100644 --- a/server/services/cloudinary.ts +++ b/server/services/cloudinary.ts @@ -33,9 +33,9 @@ class CloudinaryService { // Define eager transformations for images (generated during upload) const eagerTransformations = !isVideo ? [ - { width: 1200, height: 630, crop: 'pad', background: 'auto' }, // Facebook Feed - { width: 1080, height: 1080, crop: 'pad', background: 'auto' }, // Instagram Feed - { width: 1080, height: 1920, crop: 'pad', background: 'auto' } // Instagram Story + { width: 1200, height: 630, crop: 'pad', gravity: 'center', background: 'black' }, // Facebook Feed + { width: 1080, height: 1080, crop: 'pad', gravity: 'center', background: 'black' }, // Instagram Feed + { width: 1080, height: 1920, crop: 'pad', gravity: 'center', background: 'black' } // Instagram Story ] : undefined; // Upload to Cloudinary with eager transformations