Is this:
"General preferences
Maximum file size (in kilobytes)"
is for imgur too>?

Lol i just updated and now i cant upload images to imgur ?

I tried to reinstall it but still cant upload..

Huh lol.. after few seconds its working but i dont get uploading progress.

I am sorry...
I am having issues using the latest version in the new beta...
Using local storage the uploads fail.
Debug Info:

POST https://domain.com/forum/api/image/upload

{
  "errors": [
    {
      "status": "404",
      "code": "route_not_found"
    }
  ]
}

Thank you in advance for any help you might be able to provide. =)

    f0r3v3r I have a strong feeling your package is misconfigured.. Did you try re-enabling the extension?

    For anyone having a similar issue, somehow php-gd was broken. Check that it is installed and enabled in php.ini.
    I am guessing the logic of the extension must have changed somehow, because it was working in the previous beta without it.

    Anyways... Thank you all for your time and consideration.

    Though I do wonder what is re-enabling an extension supposed to fix exactly?


    I have tried re-enabling and re-installing the extension. I have also checked permissions.
    Error log gives me no output...
    Access log gives me the following:

    [03/Apr/2016:23:39:20 +0200] "POST /forum/api/image/upload HTTP/1.1" 301 209
    [03/Apr/2016:23:39:20 +0200] "GET /forum/api/image/upload/ HTTP/1.1" 404 54
    


    I would also note that the DEBUG flag that appears says: "The requested resource was not found."

    What I don't understand is why it is even referencing that folder location?
    I created that location after trying to get it to work, but without that location existing it throws the following error:
    Oops! Something went wrong. Please reload the page and try again. DEBUG

    500 Internal Server Error
    POST https://domain.com/forum/api/image/upload
    
    null
    


    If I create that folder location I get the other error. I have left the default upload location at assets/images so , again, I am really unclear where this other directory is getting called from.


    However, looking again with that directory not existing, it does produce the following error:

    PHP Fatal error:  Call to undefined function Intervention\\Image\\Gd\\imagecreatefromjpeg() in /home/user/public_html/forum/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php on line 33, referer: https://domain.com/forum/d/45-thread-title
    

      We should add this as a required dependency to the package. "ext-gd". Not sure, but I assumed flarum/flarum had the same requirement. Thanks f0r3v3r for checking this.

        I install v0.2.1 and enable the extension,but when I upload a image, the uploading circle was not appear, wait a few second the image was upload success, and the link was input to textbox.

        It's all done, but no uploading circle, the problem is?

        thanks

        ps. My Flarum is beta-5

          louisw128 It's all done, but no uploading circle, the problem is?

          It's a known issue.. We have to look into it.

          how to save img by year/month folder ?
          .
          from
          /assets/images/1-F08JwrDb40l3HVYB.jpeg
          to
          /assets/images/2016/201604/1-F08JwrDb40l3HVYB.jpeg

            The framework that we (mostly @luceos actually) developed should be easily adaptable to a generic file uploader. At the moment though it is not in the roadmap, but it may be in the future ?

            Nice extension, just what I am looking for. one thing to notice is that when the post is deleted, the picture is still there in the local assets/images directory. Taking a peek at the code, it looks like the delete function is not implemented. I guess I have to go ahead and take care of that and also adding Amazon S3 support to it.

              oksteven When you do, submit a PR to the Flagrow team on github so they can integrate it into the extension. ?

              Help

              POST http://flarum.dev/api/image/upload

              {
              "errors": [
              {
              "status": "422",
              "code": "validation_error",
              "detail": "The image may not be greater than 2048 kilobytes.",
              "source": {
              "pointer": "/data/attributes/image"
              }
              }
              ]
              }

                load It means the image is too big (in size).
                If you want that image uploaded to your Flarum host, then you must change the value of the Maximum File Size in Admin > Image Upload > General Preferences to something greater.
                Around 1 thousand kilobytes are 1 megabyte, I think. ?

                  AlexanderRusov Toggle the "resize" option off if it is on, that might be the problem, although it just supposedly resizes, not crop it. ?