• 0

[Tut] Create a Custom Version of Gyazo


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

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.