Hack Forums
[Userscript] Thread DragDrop Image Uploader - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Computing Lounge (https://hackforums.net/forumdisplay.php?fid=8)
+---- Thread: [Userscript] Thread DragDrop Image Uploader (/showthread.php?tid=5230469)

Pages: Pages 1 2 3


Thread DragDrop Image Uploader - SIM-1676753 - Apr 7, 2016

Drag an image to upload to imgur and automatically input the MyBB code for it onto the textarea.

Screenshots: (Click to View)

Downloads:
Full Script (GitHub)

If you're using the WYSIWYG Editor by Hash G.: (Click to View)

and if you're not:
[Userscript] Live post editor for HF | No need to edit BBCode yourself anymore! | WYSIWYG - Hash G.


* - Hash G. - Apr 8, 2016

This is dope, good job Trvp!


* - Crory - Apr 8, 2016

That's actually a pretty good Idea good job! 🤝


* - Ooze - Apr 8, 2016

Saw this in your recruitment and IM currently using it
Thanks


* - SIM-1676753 - Apr 8, 2016

Thanks for all the feedback.


* - void account - Apr 21, 2016

Nice script you have here. Very efficient and good decision in the upload destination (Imgur). 👍


* - Bluntmeh - Jun 6, 2016

Wow, this is such a great tool mate thanks so much for this I am loving it and going to use it now all the time. Really takes away the headache of uploading the picture.


* - Aveling - Jun 6, 2016

Oh damn, this is a feature I would never have thought about, nicely done!


* - SIM-1676753 - Jun 6, 2016

You are very welcome. Enjoy!


* - Hopsin - Jun 7, 2016

This is awesome, too bad I don't use imgur anymore. Is API always required from the image hosting ? Since this is very nice.


* - SIM-1676753 - Jun 7, 2016

(Jun 7, 2016 03:17 PM)Hopsin Wrote:  This is awesome, too bad I don't use imgur anymore. Is API always required from the image hosting ? Since this is very nice.

It's easier to use the API to upload images to imgur. Using the non-api version could be implemented, but this should suffice. Other hosts can be implemented.


* - Mαxim - Jun 7, 2016

Oh this is pretty neat, especially for those who are contributing in the free graphics section a lot. Good job Virility.

Also I have to ask, if you are able to code things like these. Are you able to write a script that notifies you in your web browser when you get a private message or someone reps you or whatever. Would it be easy to make? I don't know much about these things.


* - SIM-1676753 - Jun 7, 2016

(Jun 7, 2016 05:33 PM)That Guy Maxim Wrote:  Oh this is pretty neat, especially for those who are contributing in the free graphics section a lot. Good job Virility.

Also I have to ask, if you are able to code things like these. Are you able to write a script that notifies you in your web browser when you get a private message or someone reps you or whatever. Would it be easy to make? I don't know much about these things.

I can and others have made userscripts that checks if you got rep. Is it difficult to make? No, not really.


* - +mK - Jun 8, 2016

Edit: Holy shit, that's cool man. Didn't know I needed this, but this is great.

One small bug I saw, and it's mostly just because nobody would probably ever be in this situation, but this doesn't work when you drag and drop an image into a "Preview post".

Edit #2:

Here's a link for example:

https://hackforums.net/newreply.php?tid=5230469&processed=1


* - SIM-1676753 - Jun 8, 2016

(Jun 8, 2016 03:26 PM)+mK Wrote:  Edit: Holy shit, that's cool man. Didn't know I needed this, but this is great.

One small bug I saw, and it's mostly just because nobody would probably ever be in this situation, but this doesn't work when you drag and drop an image into a "Preview post".

Edit #2:

Here's a link for example:

https://hackforums.net/newreply.php?tid=5230469&processed=1

Fixed:
https://gist.github.com/MrTrvp/1d52d7eb2c1a5b068a0e26b82041d253/revisions