...

View Full Version : Upload to Imageshack.us off website?



digi duck
04-03-2007, 09:41 PM
Hi there,

As the title says i want to upload images off My site (http://gamesigs.co.uk) to imageshack.us with the click of a button. Currently i have this script installed,which is off imageshacks tools but it looks messy and i dont like it:


<iframe src="http://imageshack.us/iframe.php?txtcolor=111111&type=blank&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="280" height="70">Update your browser for ImageShack.us!</iframe>

What i want to do is the same as this website: http://www.addletters.com/disneyland-sign-generator.htm

I would like both the upload and the download button on my site which is also an image generator. Could you please help me create the code to do this?

There code is this:

<a href="http://www.addletters.com/pictures/disneyland-sign-generator/disneyland-sign-generator.php?sign=YOUR MESSAGE MAGICALLY APPEARS HERE!&amp;icon=&amp;save=1"><img src="img/download.png" alt="Download Your Picture" /></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.imageshack.us/transload.php?url=http%3A%2F%2Fwww.addletters.com%2Fpictures%2Fdisneyland-sign-generator%2Fdisneyland-sign-generator.php%3Fsign%3DYOUR+MESSAGE+MAGICALLY+APPEARS+HERE%21%26icon%3D"><img src="img/upload.png" alt="Upload Your Picture to Imageshack Free Hosting" />

this is the code i thought i might have to put in:


<a href="http://www.gamesigs.co.uk/creation.php?color={$_GET[color]}&amp;name={$_GET[name]}&amp;line2={$_GET[line2]}&amp;centre={$_GET[centre]}&amp;x={$_GET[x]}&amp;y={$_GET[y]}&amp;angle=$_GET[angle]&amp;font={$_GET[font]}&amp;size={$_GET[size]}&amp;color_r={$_GET[color_r]}&amp;color_g={$_GET[color_g]}&amp;color_b={$_GET[color_b]}\"><img src="img/download.png" alt="Download Your Picture" /></a>&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.imageshack.us/transload.php?url=href="http://www.gamesigs.co.uk/creation.php?color={$_GET[color]}&amp;name={$_GET[name]}&amp;line2={$_GET[line2]}&amp;centre={$_GET[centre]}&amp;x={$_GET[x]}&amp;y={$_GET[y]}&amp;angle=$_GET[angle]&amp;font={$_GET[font]}&amp;size={$_GET[size]}&amp;color_r={$_GET[color_r]}&amp;color_g={$_GET[color_g]}&amp;color_b={$_GET[color_b]}\"><img src="img/upload.png" alt="Upload Your Picture to Imageshack Free Hosting"

But it doesn't work? Please help
Thanks

Nightfire
04-03-2007, 09:47 PM
Guessing here as I only skimmed through


<a href="http://www.imageshack.us/transload.php?url=http%3A%2F%2Fwww.gamesigs.co.uk%2Fcreation.php?color={$_GET[color]}&amp;name={$_GET[name]}&amp;line2={$_GET[line2]}&amp;centre={$_GET[centre]}&amp;x={$_GET[x]}&amp;y={$_GET[y]}&amp;angle=$_GET[angle]&amp;font={$_GET[font]}&amp;size={$_GET[size]}&amp;color_r={$_GET[color_r]}&amp;color_g={$_GET[color_g]}&amp;color_b={$_GET[color_b]}">

digi duck
04-03-2007, 09:54 PM
is this what is wrong?

p.s i also need it to work for the download but cant even do that.

Nightfire
04-03-2007, 09:57 PM
I have no idea what's wrong, you're not giving much info on what's wrong so I'm assuming it's as you've not urlencoded the querystring.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum