[Tut] Create a Custom Version of Gyazo

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:

1. Editing the Source

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

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 PHPThis 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:

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 ImagesThe 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:

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

So sick thanks thor :smile:

Thanks, and the images are now updated :smiley:

My hosting is down :cry:

love it. if only there is a source where u can do direct upload like dropbox but with c++ or C# feature.

none the less great job!

I can’t get this to work at all…:expressionless:
-I made the images folder in public_html
-I made the phps properties 777

Remove the trailing slash and “xboxmb.php” at the end of the “UPLOAD_SERVER” constant.

Dean, can you make an upload one where people visit the site. they click a button and upload it then it gives them a link to the file?

There’s a bunch of scripts like that.

I just did that dean, still no luck.

Remove http:// and make sure you’re building in release.

Well, fixed all the problems.

If anyone wants to use my build/host here you go.


gyazo.com is better lol

XboxMB inception.

i dont mean to bump old thread but i would like some help i got everything almost working i think. the problem is when i select an area for a picture it uploads it and moves it to the right spot but it says that it cant find it but when i go into my file manager the file is there

Ok that simply means you have a problem with the gyazo.php file, care to share the parts you had to edit so I can take a look at it.

im using a free host will that matter? now i get it to the point to where every thing uploads great and no errors on gyazo end but when it trys to open the url it has all this in the url that it trys to open

Werid URL
<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

it has the url just fine but then all that **** at the end im guessing it is because of the free host if so ill find something else any suggestions?

can you help me over teamviewer please?

Updated, and added new sections on security.