mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-17 04:09:51 +02:00
Update image formatting for social media posts
Adjust Cloudinary transformations for Facebook and Instagram posts, optimizing aspect ratios and cropping for different platforms. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/d8HozM2
This commit is contained in:
1 parent
8092073029
commit
446459e2b7
3 files changed
+11
-2
No files matched your search
@@ -24,7 +24,12 @@ The backend runs on **Node.js** with **Express.js**, fully implemented in **Type
|
||||
|
||||
### Media Processing Pipeline
|
||||
|
||||
The platform leverages **Cloudinary** for cloud-based image and video storage and transformation. Original files are uploaded to Cloudinary, which then automatically generates transformation URLs for various platform-specific formats (e.g., Facebook Feed: 1200x630px, Instagram Feed: 1080x1080px, Instagram Story: 1080x1920px). These public IDs and transformation URLs are stored in the database, allowing optimized images to be served via Cloudinary's CDN.
|
||||
The platform leverages **Cloudinary** for cloud-based image and video storage and transformation. Original files are uploaded to Cloudinary, which then automatically generates transformation URLs for various platform-specific formats:
|
||||
- **Facebook Feed**: 1080x1080px with intelligent center crop (`crop: fill`) - square format, no borders
|
||||
- **Instagram Feed**: 1080x1080px with padding (`crop: pad`) - maintains aspect ratio with auto background
|
||||
- **Instagram Story**: 1080x1920px with padding (`crop: pad`) - vertical format
|
||||
|
||||
These public IDs and transformation URLs are stored in the database, allowing optimized images to be served via Cloudinary's CDN.
|
||||
|
||||
### Authentication & Authorization
|
||||
|
||||
|
||||
Reference in new issue
Block a user