Open asbag opened 7 years ago
upload isn't where the files are kept. They are in the folder uploads. upload is strictly a handler location to trigger either the generation of the thumbnails and resizing of the original image and/or getting a list of all the currently uploaded files by going to /upload without any parameters.
try looking for your file in /uploads/thumbnails/image.png
That said, I'm surprised you got this backed working that far. I forked and fixed a bunch of stuff as I uploading didn't work properly for me and downloading failed completely to rewrite the urls. Anyway, I do have a fork over at https://github.com/markalston/mosaico-php-backend
My fork removes the custom editor.html and correctly resizes the images and uploads them properly. It also allows for the ability to use a different base url for serving images in your final newsletter. I hope to have backend saving and loading working soon as well.
you are right, thank you so much !!
Hello everybody!!
I'm facing one problem when I try to browse thumbnails in image gallery. This is the post the web send: http://url//upload/thumbnails/image.png "404 not found"
These are my config variables: editor.html ... var ok = Mosaico.init({ imgProcessorBackend: 'img/', emailProcessorBackend: 'dl/', titleToken: "Mosaico Email Designer", fileuploadConfig: { url: 'upload/', // messages?? } });
backend-php/index.php
The rest of upload images work properly, the problem is only with gallery thumnails.
Is there anything I'm missing?
Thanks a lot.