Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Upload to Imageshack.us off website?

    Hi there,

    As the title says i want to upload images off My site 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:

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

    Code:
    <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
    Visit Gamesigs.co.ukto create your own personalised signature using our generator,

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    Guessing here as I only skimmed through
    Code:
    <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]}">

  • #3
    New Coder
    Join Date
    Jun 2006
    Posts
    65
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is this what is wrong?

    p.s i also need it to work for the download but cant even do that.
    Visit Gamesigs.co.ukto create your own personalised signature using our generator,

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •