• Extensions
  • Imgur Upload, simple image upload from the editor

a month later

Hello!

Great extension!
In your example, there is no built-in image loader icon. How did you remove it?

    Aleram with CSS 😄 😅

    It would be something like this (paste the code in the "custom CSS" option in the Appearance admin page):

    #MarkdownToolbar button[title="Add an image"] {
      display: none;
    }
    
    #MarkdownToolbar button[data-original-title="Add an image"] {
      display: none;
    }

    If it doesn't work, make sure that the "Add an image" text is the text that is shown when you hover the image button in the toolbar.

      matteocontrini Thank!

      Looking at the fact that everyone has it in the same style, I thought it was an automated feature that I did not notice.

      2 months later
      12 days later

      EDIT I touched nothing (even after cleaning cache several times, it works after like 10 mins without touching anything. However the Ctrl + V still doesn't work)

      @matteocontrini it's a bit weird, it's not working anymore on my beta 14 🙁
      it used to work on another distinct forum beta 13 I had with User ID from imgur

      • I can't upload i get and error
      • Ctrl + V doesn't work?

      Could you help me 🙁

      Thank you

        Communitybuilder the next time you get an error, it would be helpful if you could open the developments tools console of your browser so that we can better see what's going on.

        Regarding the CTRL + V, you're right, I didn't test that. Fix incoming...

          matteocontrini
          Thank you very much. I'll take note of that for further releases ^^

          Ctrl + V doesn't work.
          But I've also noticed that the drag and drop only works if it's dropped on the icon dedicated to it, maybe it may be good for an evolution in the future, but it would be cool to be able to drag and drop globally on the whole text editor (cause the icon is very small ^^)

          Will keep you updated if I see any bugs 🙂

            Communitybuilder the CTRL + V thing should be fixed with version 3.4.1, which is live now. You can update by running:

            composer update matteocontrini/flarum-imgur-upload

            Communitybuilder But I've also noticed that the drag and drop only works if it's dropped on the icon dedicated to it

            Yeah, that's actually a browser's feature, I haven't implemented drag and drop (yet). We'll see 🙂

              matteocontrini Thank you! I've just updated it ! it works perfectly
              Tested on both Google Chrome & Firefox

              (For people installing or updating it: In case people it doesn't work : try to clean the cache in the Admin Panel AND ctrl+F5 on your browser before trying it, should work after that 🙂 )

              i installed imgur uoload,and did settings. images are uploaded ,bet not shown.

              i got "Provisional headers are shown" error.

              {"data":{"error":"Imgur is over capacity. Please try again.","request":"\/3\/image","method":"POST"},"success":false,"status":500}

                5 days later
                21 days later

                Someone know how to increase images upload size? somethimes give error so i think is a too big pic. Thanks