SnagitImgur icon indicating copy to clipboard operation
SnagitImgur copied to clipboard

Use https uploading and url by default

Open delize opened this issue 8 years ago • 2 comments

Hello,

I was just wondering if you could upload via the API via a secure channel, and also copy the link with https:// instead of http://.

Thanks,

delize avatar Aug 15 '15 00:08 delize

+1 on this.

would be nice to have a setting in options.

gituser avatar Dec 03 '15 08:12 gituser

For those who are still waiting... Seems author is quite busy with other projects or moved to other screenshot-based program or just don't have time anymore to maintain this project..

  1. uploading is done already via https://, see https://github.com/hmemcpy/SnagitImgur/blob/master/src/SnagitImgur/Plugin/ImageService/ImgurService.cs#L19

  2. to get https:// url https://github.com/hmemcpy/SnagitImgur/blob/master/src/SnagitImgur/Plugin/ImageService/ImgurService.cs#L77 replace this line with: Url = uploadResponse.data.link.Replace("http://","https://"),

  3. Make sure you have .NET 4.5 installed on your system and then run build.cmd, close snagit32.exe snagiteditor.exe from the process list.

  4. Copy all files from output/Release/ directory from your build to %APPDATA%\Local\TechSmith\Snagit\Accessories{EDA9F1DD-85B9-44F6-9D3C-125B2DD1109D}\

  5. Enjoy https:// links to i.imgur.com

gituser avatar Mar 27 '17 13:03 gituser