Plano de Centralização de Caminhos de Imagens/Uploads

Community

Centralize image paths across frontend and backend.

Authorharlemsilvas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Centralizes and normalizes image and upload URLs across frontend and backend deployments, reducing broken links and environment-specific differences.

Core Features & Use Cases

  • Central URL builder using a single configuration (VITE_UPLOADS_URL) that converts stored relative paths (e.g., /uploads/produtos/ID/arquivo.jpg) into absolute URLs.
  • Fallback image handling with a default placeholder when paths are missing.
  • Guidance for migrating existing code to a unified image URL strategy and ensuring Nginx serves the /motopecas/uploads path correctly.

Quick Start

Configure your frontend to use a centralized image/url provider and ensure the Nginx path /motopecas/uploads is correctly mapped, then validate in DEV and PROD.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Plano de Centralização de Caminhos de Imagens/Uploads
Download link: https://github.com/harlemsilvas/motopecas/archive/main.zip#plano-de-centraliza-o-de-caminhos-de-imagens-uploads

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.