diff --git a/src/app/(routes)/(website)/components/projects/projects.tsx b/src/app/(routes)/(website)/components/projects/projects.tsx index 78bb49a..f2cdb79 100644 --- a/src/app/(routes)/(website)/components/projects/projects.tsx +++ b/src/app/(routes)/(website)/components/projects/projects.tsx @@ -203,7 +203,7 @@ export default function Projects({ dict }: MyProjectsProps) { {project.images.map((image, idx) => ( {`Image { if (!src) return '/images/placeholder.jpg'; if (src.startsWith('http://') || src.startsWith('https://')) { const urlPath = new URL(src).pathname; - return urlPath.startsWith('/storage') ? urlPath : `/images${urlPath}`; + return urlPath; } - return src; + if (src.startsWith('/')) return src; + return `/images/projects/${src}`; };