Added: 2 years ago
From: SimpleSDK
Views: 28,703
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (67)

Sign In or Sign Up now to post a comment!
  • Hi everyone you must check out this awesome free uploading tool!

    h t t p://7pic.com/l/3/?a=8663

  • excellent video .........thanks a lot

  • Please, please, please, please redo this tutorial using the latest Xcode. You can't follow this anymore because Xcode is too different now for a beginner to follow this tutorial. No one else has shown how to upload an image to a server using the iPhone. Please please please redo Mr. SimpleSDK. Thank you. Can't wait to see an updated video from you

  • The boundary could be any string as long as it doesn't exist in the base64 encoding of the image.

  • An 8 year old teaching me how to use XCode? lolwut

  • The boundry value "-----147..." can be ANY string of chars., it's just used to show the receiving script the boundry of the encoded info.

    You'll see the same in an email with an attachement, or embedded HTML, images,et al -- just view the RAW email to view it

  • Thank you! its a wonderful tutorial..

  • @coulton94

    this is because some of the code is wrong.

    in the .m file under -(IBAction)pushUpload {

    change (imageView.image,90)

    to (imageView.image,1)

    or (imageView.image,0.5)

    PHP has a timeout after 30 second for post requests and if you compress the image 90 x's larger, then it will time out before a 90 x's size file is uploaded.

    this is the compression level. the values range upto 1. not 90

  • @directbmx yup that's right. It will not upload the file 90x its size, it would just ignore the preference all together. However, in the PHP script it will calculate the filesize and return too large - pre compression + uploading.

  • Hay I defined my boundary as boundary = @"--*****" and it worked for me. in Android as well as in Iphone. but I couldn't figure out the logic behind it.

  • This is amazing! But with the new Xcode 4, I get stuck at 2:53 in your video because I can't find that menu. It's like gone or I can't find it. Is there anyway you can do a step by step video for this exact tutorial and redo it? I'm somewhat new to this Xcode stuff but I want to learn how to do this very image uploader thing. Except I can't follow this lesson now that it's outdated. Please, please, please reteach/revideo this with xcode 4. You'll be a life saver! Thanks

  • @JustWatchingYourVids: Hay this section is now in Library part, under Classes segment type YourClassName (UploaderViewController in this case) in search bar at bottom, and you will get it. You can define IBActions and IBoutlets from the combo box located below your selected class.

  • Comment removed

  • the problem is this:

    Photos taken with the iphone dont upload. Other Images (jpg or png) in the Photo album upload as they should. Any ideas anyone?

  • Hi SimpleSDK

    Is there a way to make the uploader work with jpg's.

    The code only accepts png's.

    Thanks

  • @coulton94 I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??

  • @coulton94  I'm having the same exact problem. I even tried making the maximum file size larger in the php ini file on my server. Did you figure this out yet??

  • hey do you make it so you can crop it and use it

  • HD WILL BE SO SICK I AM IN LOVE!

  • thanks that helped me a lot!

  • so great men

    keep posting the source code!

  • great tutorial. is it possible to send the upload.php script to me?

  • your voice is kinda anoying, but your vids are great!

  • Thank you very much for the great video. I was wondering if you can make one to upload music from iphone to a site instead of images?

  • great video!! can I get the php file, too, please? it would help a lot!! :D

  • @anderarias did you get the php file?

  • Ok REALLY SORRY,

    I got the php file and ALL is working GREAT.

    Really really thank you for this video tutorial.

    you're in my heart :)

  • Hi,

    this tutorial is simply amazing but... Can you please post the php file too?

    I'm not able to write it :(

    thanx a lot

  • How long did you learn these commands

  • I blocked out the "exit" part of the php file to allow increased file size, and now it works. Vertical images are landscape, and landscape are landscape on the browser though. I guess I will just have to take landscapape pics from now on!

  • Here is the error I get when trying to open the file that was uploaded:

    Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete).

    Just thought you might want to know.....I hope you can help. I really need this process in an app I am working on.

  • I can only upload "blank" screen. I used your downloaded sample. And the blank is not openable due to truncated issue. Can you help with this?

  • I don't see the php uploader file ....... what's up with that? No good without that.

  • Hey, i did all the tut, the code is awesome, but the link to PHP file is not working.. :( can you please reupload the php file or give me the php code? Thanks, awesome tutorial

  • do you have the sample project for download?

  • I found out how to upload videos from your Photo Library. To a website. Tutorial wanted?

  • your voice is sorta squeaky :P nice vid

  • very interresting,

    but , from where can I learn commands and their meanings

    step by step

    from where did you learn ????????????

    thanks

  • Thank You!!!! Really great tutorial. I was searching for hours online for how to use image picker, and then I found your video. Helped a ton!

  • oh man i was gonna subscribe but then again i was already subscribed! thanks a lot for this :D

  • @cuteboymimmi I thought you might be using this^^.

  • @Calumks oh oh, busted :P

  • beginner's question: how do you get the Class Actions and Class Outlets panes in the File's Owner Identity dialog? Mine just contains the Class Identity and Interface Builder Identity panes...

  • hi man, i make all this steps and work like a charm :) but i have a cuestion, how do i send extra info ?? like image caption

  • i have uploaded the php file to my server and compiled the app to my iphone but when i click on upload nothing happens :(

  • were did you learn xcode and how to make ipod apps

  • when I am trying to build this project .I am getting this kind of pop up message

    The application Uploader quit unexpectedly.

    Mac OS X and other applications are not affected.

    click Relauch to launch the application again.

    would any one can help in this ...

  • Hi can you get me the PHPUpload file.i have tried for upload uisng this following php script but it shows error as follows

    {\rtf1\ansi\ansicpg1252\cocoar­tf1038\cocoasubrtf250 {\fonttbl\f0\fnil\fcharset0 Verdana;} {\colortbl;\red255\green255\bl­ue255;\red166\green195\blue218­;} \paperw11900\paperh16840\margl­1440\margr1440\vieww22040\view­h12600\viewkind0 \deftab720 \pard\pardeftab720\ql\qnatural \f0\fs22 \cf0 \cb2 File UploadThere was an error uploading the file, please try again!}

  • I implemented this code, and it successfully uploads vertical images. The problem is that horizontal images just don't upload. Do you know how I can fix this?

  • hi may i know the ways to connect to the external database and pick the images

  • it has something to do with the PHP file, you need to change the value where it says "['size']>300000" to a bigger number as it only allows pictures under 300kb, and most iphone pictures at 1mb+. Now im just looking for a way for the app to resize/format this picture to a smaller file size so that they upload faster! hmmm..... any ideas anyone?

  • Thank You for such a helpful video...!!

  • wow

  • At 02:52 "Go to File's Owner then to it's identity under Class action add push pick etc"

    I don't got the Class action :S How can I get it?

  • It got moved in the new SDK version, it is now under classes :)

  • you completely lost me when u started talking about the upload.php. i just wanted to upload to twitpic or somehting simple, facebook :/

  • could come in handy someday!

  • very complex tutorial i had an idea on how to do it when I was thinking about doing something like this a while ago but according to ur tutorial I missed one thing lol. Impressive and great tutorial

  • whats a good site to find tutorials...... btw these tutorials really help me out

  • you should upload it in HD so that we could see the code a bit better, but its a great video though

  • HD is coming through. Just wait.

  • Alright man great vid though

  • second! good tutorial so far im not finished yet lol

  • First but I am watching the video lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more