FriendsOfFlarum upload, the intelligent file attachment extension
- Edited
luceos I know but it seem that error 400 is used for multiple problems... should i use the bucketname or the arn in bucket field or your extension ?
[edit] It seems that arn does'nt work better
[update2] ok the parameter region was bad it was an euxxx string instead of eu (paris) but my parameter url content delivered is not correct, is nothing in preview because the url is not complete
- Edited
brian85 Please use the EDIT function of your post (accessible by the 3 Dots at the bottom of your post) instead of making multiple posts in a row, as per our Community Guidelines.
Hi,
When I upload image(png) it will shows as a link, Can i have preview image in port options?
thanks
When uploading a file, the following link can be downloaded.
https://discuss.flarum.org/d/18491-imgr-upload-simple-image-upload-from-the-editor
I can upload on my phone, but the vertical photo is rotated horizontally. Is this a bug?
Hello,
I have some problem downloading files that I have uploaded. The first time, it is working well but now I got a JSON file with the error 500 like this:
{"errors":[{"status":"500","code":"unknown"}]}
I cleared the cache.
- Edited
Hello. Upload is OK and files are stored in public/assets/files/2019-10-13
(for today). Images & PDF.
But the URL associated with the file(s) is (are) incorrect(s), and I got an error
{"errors":[{"status":"404","code":"not_found"}]}
<-- Not working ???
https://alpha.a2co.org/img001.png <-- Not working too ???
The URL is like that : https://alpha.a2co.org/public/api/flagrow/download/f0e54a13-4956-47f6-b69c-d369028e9f84/12/xdQ2c7ZQT0yODRIXrLikpdQxESyekInbywioFM3Z
I don't have any "api/flagrow/download" directory...
Any help ?
BBCode working
[/img]
Pherinos this is actually normal. If you enable file protection or download counter, it will use a dynamic url. The extension then should return the correct file from that url.
Not sure why there's a 404 error.
I notice you have a public folder in the url. You should configure your Flarum to remove it https://flarum.org/docs/install.html#customizing-paths This is probably unrelated to the Upload issue though.
- Edited
clarkwinkelmann OK, thank you, I'll try that.
Hummm... customizing paths after an installation seems not working... I'll re-install all of this next days...
But why there is an URL like api/flagrow/download/f0e54a13-4956...
? The files are not there, and there is no htaccess rule to change this URL, no script to get the file by reference, etc.
:-(
Uploading images seems to work for me but the preview does not. I just see the raw bbcode with a clickable link to an image on posted messages.
Like this: [upl-image-preview url=https://domain.com/assets/files/2019-10-14/image.jpeg]
Any ideas?
- Edited
SqueakyBlum Exactly same here. The image gets uploaded and the above code gets embedded in the post but it shows the code instead of the image. And the Attach button is not working in Firefox. When we select a file and try to Attach in Firefox, something strange happens and the discussion is shown. It works only in Chrome. Please do fix it whenever convenient. Is there any way to add a alt attribute to the image in the code it embeds so the image is spidered by google images? Thanks for the extension.
nitaaikumar Installing FriendsOfFlarum Formatting seemingly fixed the issue. I guess this is an undocumented dependency?
SqueakyBlum Oh you are right, even the Firefox issue seems fixed after installing Formatting. Thanks for the heads up.
@clarkwinkelmann There is another issue with resizing. The Image resize setting is off. Even when when I uploaded a 15kb image jpg, it converted it into a 30kb jpeg image. How can I disable this resizing because I am already optimizing my images to the max before uploading them? Thanks in advance.
can't download image which uploaded in local, download button is shown if I clicked the download button redirect to 404