Question

Hey guys, here's a tutorial I created a while back over on another website (if you don't believe me I'll show you), so I thought I would share it with you guys! At the time I'm pretty certain this was the only tutorial to do this for Windows, so enjoy!

So today we'll be creating a custom version of Gyazo so that the images upload to your own server and you can find them all yourself without buying Gyazo Pro.

What you'll need:

  • Microsoft Visual C++ 2008 Express (Dreamspark)
  • Your own server
  • A preprepared source for gyazo and the PHP files (Multiupload.com!)

1. Editing the Source

Open the 'gyazowin' solution file and fine this area of gyazowin.cpp:

UKTU2.png

Replace 'UPLOAD_SERVER' with the web address of your site, and then your done. You can now build 'gyazowin.exe' and put it wherever you want for future use.

If you don't want the gyazo .php file in the root of your web directory then you'll need to edit the 'UPLOAD_PATH' too.

To build the server the simplest thing to do would be to click the play button in the Toolbar, test if it runs and if it does just go in the 'Debug' folder to find it.

2. Editing the PHP

This PHP was originally made by Ben Alman for his own custom Gyazo with on Mac, but they'll work just the same for us. The new file is from SPEED! Thanks him if you use it!

Navigate here:

2Jq05.png

And change the the location where you want the images saved, and the URL of your website.

3. Uploading and Setup

Uploading the gyazo.php to the root of your web space and make sure the permissions are '755' so it can create and copy the image files.

Then just create the images directory and give it '755' permissions too (not sure if this is necessary, but I did it just in case).

Now feel free to just run your gyazowin.exe anyway you want (mines in my RocketDock) and the pictures will upload! Depending on your own upload speed, the speed of the servers, and the size of the image, your gyazo may be fast or slow, but it should work great.

You can install your own image gallery for finding images quickly (haven't found a perfect one for myself yet, I'll update this when I do), and there you go. Have fun!

3. Securing your Images

The easiest way is to just prevent the indexing of your photos if you don't want people to have the ability to look through your images like this:

Q9q7u.png

Go into your CPANEL's 'Index Manager' (under the 'Advanced' section) and select 'No Indexing' for the folder you want.

vpoQn.png

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Posts

    • Apple prices for sure suck, but performance, upgradability and flexibility are subjective to the use case and machine. For example, you will not find a mini PC in the same starting price range that has the same performance as a Mac Mini, nor will it be very upgradable, if at all at that size. Many cost-effective laptops are not upgradable past the storage. Inexpensive laptops are underperforming in comparison to more expensive models that might actually cost more than a MacBook . You won’t find battery life is comparable unless you go with Snapdragon, which limits compatibility and sacrifices upgradability. AIOs suck in both spaces, so I’ll not mention them. As for flexibility, I can do more in my use cases with a Mac than I can with a Windows or Linux machine. Where Apple really screws their users over is with upgrades, especially since you have to do them during purchase. The area where Apple can’t compete at all is desktop machines (not discussing AIOs). Outside of cost, it’s all subjective and situational.
    • Not with Proton, no. macOS isn’t Linux in any way, shape, or form.
    • AIDA64 was just showing the variable speed. Open Task Manager and go on the CPU tab and see the magic of your CPU speed going up and down as the PC does things in the background. C States Auto/Disabled actually forces all cores on (disabling the ability to park unneeded 3D Cache cores when they aren't needed), but does not have any effect on the CPU speed. I think setting the Power Plan in Windows to High Performance does boost the CPU clock higher, which also results in less energy efficiency with "everything turned up to 11" all the time when it isn't even needed. Older generation CPUs did not have the variable speeds we now have in modern CPUs, they operated on a fixed clock speed.
    • one drive saved my life .ive freed up some space i now have 227gigs.
    • "What the f is that name of that program?! Good thing I can find it in the easily accessible, and alphabetized list of apps." 🙂 I don't use the Start Menu a lot, but I'd be super annoyed if there wasn't some form of an app drawer in Windows.
  • Recent Achievements

    • One Month Later
      SekTheFirst earned a badge
      One Month Later
    • First Post
      zayanhani earned a badge
      First Post
    • First Post
      HarryTaylor earned a badge
      First Post
    • One Year In
      Eternal Tech earned a badge
      One Year In
    • One Month Later
      Eternal Tech earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      655
    2. 2
      ATLien_0
      237
    3. 3
      Michael Scrip
      231
    4. 4
      Steven P.
      141
    5. 5
      +FloatingFatMan
      138
  • Tell a friend

    Love Neowin? Tell a friend!