VanOns / laraberg

A Gutenberg implementation for Laravel
GNU General Public License v3.0
1.33k stars 144 forks source link

I can't upload an image via the editor. Help! #207

Closed digimumo closed 1 month ago

digimumo commented 3 months ago

Im using Laravel 11.15.0 Php Version | 8.3.8

Packages: "unisharp/laravel-filemanager": "^2.9", "intervention/image": "^3.7", "van-ons/laraberg": "^2.0" "@tailwindcss/forms": "^0.5.2", "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^10.4.2", "axios": "^1.6.4", "laravel-vite-plugin": "^1.0", "postcss": "^8.4.31", "react": "^18.3.1", "react-dom": "^18.3.1", "tailwindcss": "^3.1.0", "vite": "^5.3.3"

I've tried to setup image uploads with Laraberg and its really causing me a headache! Ive trawled through all the closed issues on here, and tried every solution mentioned but non of them work for me.

I can upload via Filemanager directly, and can upload through my normal controllers so its not a permission issue.

Laravel Storage link is setup.

Please, please! Before I give up on this wonderful package can someone help me figure out how to upload images through the editor! Yes it would be awesome if it could be with unisharp/laravel-filemanager, but at this stage i'm happy with a basic image upload.

I've tried this method recently uploaded, but without success. https://github.com/VanOns/laraberg/issues/203

I think it would save a lot of issues being posted on here if a solution was made public or built in, since image/file uploads are a huge park of a editor.

Thanks in advance, Linze/Digimumo

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has been open for 60 days with no activity.