• Extensions
  • FriendsOfFlarum upload, the intelligent file attachment extension

is there a way to use the Content Delivery URL (prefixes files) settings in the imgur upload? i want to use imgur as hosting, but using this service for cdn. Url for imgur photo become like this https://cdn.staticaly.com/img/i.imgur.com/9usQKZg.jpg

    pxnji yes you can override to use a cdn for uploaded images. Only works on newly uploaded files.

      luceos how? i mean to automatically input that url, as we know output code for imgur upload is [upl-image-preview url=//i.imgur.com/6fPJb3s.jpg] because Content Delivery URL (prefixes files) settings is only for local storage, i want to automatically become [upl-image-preview url=https://cdn.staticaly.com/img/i.imgur.com/6fPJb3s.jpg]

        pxnji because Content Delivery URL (prefixes files) settings is only for local storage

        Oh, totally forgot that is the case. I might be able to push that logic onto imgur too..

        Error when enabled after installation

        Error booting Flarum: Class GuzzleHttp\Client does not exist

          13 days later

          I'm trying to add a custom mimetype, and upload to Amazon s3. ("Normal" filetypes and Amazon uploads are working great, otherwise.)

          The type is an ActivInspire .flipchart file, and they specify the mimetype on their support site:

          AddType application/Inspire flp
          AddType application/Inspire flipchart

          So in the uploader I've tried: application\/Inspire, along with various permutations of those bits. Whatever I do, I get "You cannot upload that type of file."

          I finally fell back on the wide-open ^application\/.* which let me upload, but then they download as .bin files.

          For kicks, I added the "AddTypes" to my root .htaccess and the .htaccess in my forum root, but no difference.

          Am I barking up the wrong tree? Do I need to configure something at Amazon to recognize .flipchart files?

          6 days later

          iCosmo I have this problem too. Does you fix it?

          P.S composer require guzzlehttp/guzzle helps)

          Hi,

          Thank you for the extension.

          I use "Wamp" to Windows with apache 2.4.37, PHP 7.1.26, mysql 5.7.24 and Flarum beta 8.1

          I have a problem :

          When i install "flagrow/upload" v0.7.1, i have this message :

          Fatal error: Uncaught ReflectionException: Class GuzzleHttp\Client does not exis
          t in D:\website\root_flarum\vendor\illuminate\container\Container.php:811
          Stack trace:
          #0 D:\website\root_flarum\vendor\illuminate\container\Container.php(811): Reflec
          tionParameter->getClass()...

          Have you a idea ?

          Thank you very munch !

            10 days later

            The images I upload in Mozilla Firefox browser do not show in discussion. Am I taking this mistake onl
            (Local and Imgur are the same in both results)

              wwwn The images I upload in Mozilla Firefox browser do not show in discussion.

              But they are uploaded? So uploading them doesn't throw an error?

              4 days later

              Hi @luceos I want enable local upload for admin and this is working with your extension but i want activate image upload for user on imgur.

              Should I have to copy and paste in the second filed image\/.* string?
              When i save seems the settings are not saved the second line is missed again and when i try to create a post i see only the icon for upload the local image.

                luceos Thanks. I cannot understand why i am unable to have two upload button one for local upload one for imgur. Seems when i compile the second line the settings are lot. Any way ok. Thanks.

                Hello, can you tell me the 8.0 version?

                Now seems to be a lot of the plugin is not compatible with 8.0

                  I'm having issues with the extension. When I set the mime types and save the configurations, nothing is storaged at the "flagrow.upload.mimeTypes" field of the database

                    14 days later

                    Flarum 0.1.0-beta.8.1
                    Upload 0.7.1

                    Work fine, except when trying download content, it's show (resource_not_found), temporary fix it by disabling "Hotlink" and "Logging downloads".

                    Thanks,

                      tangba what exactly is not working?

                      wcs please create an issue on the repository

                      saifcoder I noticed there are some issues with both these settings.


                      I am planning a full rewrite the coming months. Feel free to post any request you have for this extension.