Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 12, 2019 9:52:41 GMT -8
Hi! Can someone please make a plugin for uploading images using this vgy.me/api. I'd really appreciate if someone were able to do it.
|
|
Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 14, 2019 10:02:19 GMT -8
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 14, 2019 19:04:59 GMT -8
Unless I missed something, then that service doesn't seem to have CORS setup from what I can tell at the time of posting this message.
For the plugin (JavaScript) to be able to make a POST request to that API and retrieve the data (JSON) back, then it needs the ACAO header setup, otherwise the cross domain policy comes into effect.
Basically it's not possible using that service (even though looking at their API page it would appear that it is allowed and is possible).
Edit: Addon was causing issues.
|
|
Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 15, 2019 12:08:37 GMT -8
Unless I missed something, then that service doesn't seem to have CORS setup from what I can tell at the time of posting this message. For the plugin (JavaScript) to be able to make a POST request to that API and retrieve the data (JSON) back, then it needs the ACAO header setup, otherwise the cross domain policy comes into effect. Basically it's not possible using that service (even though looking at their API page it would appear that it is allowed and is possible). Oof. I'll look for more.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 16, 2019 2:04:05 GMT -8
@smithj ,
Forget my last post, it seems that it does work (an addon was blocking the request). I will try to find some time and write a plugin this week (no promises though).
|
|
Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2019 7:19:14 GMT -8
@smithj , Forget my last post, it seems that it does work (an addon was blocking the request). I will try to find some time and write a plugin this week (no promises though). Thanks so much!
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 17, 2019 8:48:28 GMT -8
I put a quick prototype together just to get it working: I want to add some sort of visual thing for the user to show that it's uploading. Then it's basically done. So maybe tomorrow if I find time I will post it.
|
|
Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 17, 2019 8:56:42 GMT -8
I put a quick prototype together just to get it working: I want to add some sort of visual thing for the user to show that it's uploading. Then it's basically done. So maybe tomorrow if I find time I will post it. Thank you so much!
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 18, 2019 1:05:31 GMT -8
|
|
inherit
6871
0
Jun 10, 2024 2:25:35 GMT -8
bigballofyarn
"If you wish to make an apple pie from scratch, you must first invent the universe." -Carl Sagan
7,912
January 2003
bigballofyarn
|
Post by bigballofyarn on Jul 18, 2019 3:58:20 GMT -8
This is brilliant. Thank you.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jul 18, 2019 4:17:07 GMT -8
Nice easy to use plugin.
|
|
Former Member
inherit
guest@proboards.com
253222
0
Dec 2, 2024 20:33:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 24, 2019 13:52:50 GMT -8
Peter hi, it's great, but how exactly do you change the default icon?
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,018
January 2018
retread
|
Post by Retread on Jul 24, 2019 15:53:44 GMT -8
Peter hi, it's great, but how exactly do you change the default icon? Hi @smithj That was directed at Peter but I think he won't mind if I answer your question. From your Admin panel, navigate: Admin Home> Plugins> Forum Plugins> Build tab. Then click on Vgy.me Image UploadThen click on the Images tab. You'll see the icon and buttons to either Link to a remotely hosted image or Upload an image directly from your computer. The stock ProBoards editor buttons are 26px wide by 22px tall. You'll probably want an image that has roughly the same dimensions.
The image will be autosaved after you upload.
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,018
January 2018
retread
|
Post by Retread on Jul 25, 2019 9:07:43 GMT -8
Okay Peter , here's my 2¢ - This plugin deserves its own thread in the Library sub-board and in the main ProBoards Plugin Library
- I admire the way you built upon something Chris did (and acknowledged him). To me, this speaks volumes about the value community cooperation.
- Thank you for making this plugin editable. Although I haven't advanced to the stage where I can understand much of the JS part, it will serve as a learning tool for many of us.
- My first reaction to the keyframes animation of the button was a giggle. I thought although it was fun, it was sort of frivolous. I was wrong. I soon noticed that it takes a few seconds for the fetch/return/insert to complete, so this serves to let the user know there is something happening during that time. Fun and functional.
- The Simple Image Upload plugin was aptly named. This one is even more simple and direct. No popup with the options to create or log onto an account, upload from a URL, etc. The only popup is the one which allows the user to navigate on his computer to find and select the desired image. This could be named Simplest Image Upload. For users who simply want to insert an image in a post and don't want to manage an account on the host, this is the perfect solution.
Thank you!
|
|
inherit
254318
0
Jul 31, 2024 10:21:37 GMT -8
Bonnie
156
April 2018
bonniejo
|
Post by Bonnie on Jul 30, 2019 10:25:00 GMT -8
This plugin is great and so easy to use! I always encourage my users to create an account on photo hosting sites but this is awesome for those who either don't want to or don't know how to!
|
|