You are viewing our Forum Archives. To view or take place in current topics click here.
[Tut] Create a Custom Version of Gyazo
Posted:

[Tut] Create a Custom Version of GyazoPosted:

iThorHD
  • Ladder Climber
Status: Offline
Joined: Jun 20, 201112Year Member
Posts: 352
Reputation Power: 29
Status: Offline
Joined: Jun 20, 201112Year Member
Posts: 352
Reputation Power: 29
Hey guys, here's a tutorial I created a while back over on XMB, 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 ( [ Register or Signin to view external links. ] ) ( [ Register or Signin to view external links. ] )
  • Your own server
  • A preprepared source for gyazo and the PHP files ( [ Register or Signin to view external links. ] )

1. Editing the Source

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

[ Register or Signin to view external links. ]

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:

[ Register or Signin to view external links. ]

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:

[ Register or Signin to view external links. ]
Go into your CPANEL's 'Index Manager' (under the 'Advanced' section) and select 'No Indexing' for the folder you want.

[ Register or Signin to view external links. ]


Last edited by iThorHD ; edited 2 times in total
#2. Posted:
RDCA
  • TTG Contender
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 3,612
Reputation Power: 173
Actually a couple of people have already C+P'd this to here. But imo their threads should be deleted instead of your's since you wrote it.
#3. Posted:
No1
  • TTG Fanatic
Status: Offline
Joined: Jan 25, 201113Year Member
Posts: 4,490
Reputation Power: 207
Status: Offline
Joined: Jan 25, 201113Year Member
Posts: 4,490
Reputation Power: 207
RDCA wrote Actually a couple of people have already C+P'd this to here. But imo their threads should be deleted instead of your's since you wrote it.
I was thinking the same thing, if he is the original creator that is.
#4. Posted:
iThorHD
  • Ladder Climber
Status: Offline
Joined: Jun 20, 201112Year Member
Posts: 352
Reputation Power: 29
Status: Offline
Joined: Jun 20, 201112Year Member
Posts: 352
Reputation Power: 29
Yeah here is the original thread I created in May: [ Register or Signin to view external links. ]

EDIT: Updated things a little bit. Enjoy!
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.