You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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??
}
});
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.
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.
The text was updated successfully, but these errors were encountered: