This forum is a community forum meant for users of the plugin to collaborate and help solve issues with implementation, etc. Unfortunately, as the creator of the plugin, I do not have much time to attend to every request here as this is only a side project and I must work a full-time job to provide for my family. This is how I keep the Flash version free and the HTML5 version low cost.
UploadiFive 1.1.1 has been released which includes a small fix for added support on touch devices including iOS 6 devices.
Uploadify 3.0 Beta with Django
  • New to uploadify and thought I'd try it with Django. Took a bit to figure it out, so thought I would post my results in case it helps anyone else.

    In my javascript initialization:
    $('#my_upload_button').uploadify({
    swf: '/my/media/lib/uploadify.swf',
    uploader: '/myapp/uploadurl',
    cancelImage: '/my/media/images/uploadify-cancel.png',
    checkExisting: false,
    postData: {sessionid: $.cookie('sessionid')},
    auto: true
    });

    (Note the sessionid in the postData - learned this from http://stackoverflow.com/questions/1348669/uploading-multiple-files-with-django)

    On Django, I created a middleware

    from django.conf import settings
    from django.core.urlresolvers import reverse

    class SWFUploadMiddleware(object):
    def process_request(self, request):
    if (request.method == 'POST') and (request.path == reverse('myapp.views.myFileHandler')) and \
    request.POST.has_key(settings.SESSION_COOKIE_NAME):
    request.COOKIES[settings.SESSION_COOKIE_NAME] = request.POST[settings.SESSION_COOKIE_NAME]


    And added this to my settings:
    MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'myapp.middleware.swfupload.SWFUploadMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    ...
    )


    And added the url:
    urlpatterns = patterns('',
    ('^myapp/uploadurl$', myFileHandler),
    ...
    )


    And added the view:
    from django.http import HttpResponse
    from django.shortcuts import render_to_response
    def myFileHandler(request):
    if request.method == 'POST':
    for field_name in request.FILES:
    uploaded_file = request.FILES[field_name]

    # write the file into /tmp
    destination_path = '/tmp/%s' % (uploaded_file.name)
    destination = open(destination_path, 'wb+')
    for chunk in uploaded_file.chunks():
    destination.write(chunk)
    destination.close()

    # indicate that everything is OK for SWFUpload
    return HttpResponse("ok", mimetype="text/plain")

    else:
    # show the upload UI
    return render_to_response('uploads/manual.html')


    And finally got it to work.

    Many thanks go to http://blog.fogtunes.com/2009/11/howto-integrate-swfupload-with-django/
  • The user and all related content has been deleted.
  • I also followed the blog post, and my code is the same, however I still can't get it to work. I successfully add a value to request.COOKIE in middleware, however something in CSRF still fails. Any ideas?
  • Hi, you could share this project? I need SWFUpload or came with package of Uploadify3?

    Thanks!

  • For those of us with Suzuki Outboards Sale a reasonable fear of the ocean, this is a worst case scenario: Last week, Dan Suski, 30, and his sister Kate Suski, 39, chartered a fishing boat in St. Lucia. Things were going fine, despite the rough seas, and the siblings even managed to hook a 200-pound marlin. They were battling the giant fish when water rushed onto the boat and flooded its engine room. As the captain radioed for help, another surge Yamaha 4 Stroke Outboard of water swamped the boat. At that point, the captain tossed the Suskis life jackets and ordered them into the ocean.


    "He said, 'Jump out! Jump out!'" Kate Suski recalled in a telephone interview Thursday with The Associated Press.


    The captain and the first mate soon joined them and Yamaha 150 outboard, five minutes later, the boat sank, leaving the group stranded at least eight miles from shore. The group stayed put for the first hour, awaiting rescue. No one came. The group started to swim, but the rough waves caused the Suskis to became separated from the captain and first mate. "We would just see swells and gray," Dan Suski said.


    Hours went by. A helicopter and search plane arrived but failed to notice the two siblings. They continued swimming. Eventually, the sun went down.


    "There's this very real understanding that the situation is Yamaha outboard motors dire," Kate Suski said. "You come face-to-face with understanding your own mortality ... We both processed the possible ways we might die. Would we drown? Be eaten by a shark?"


    Neither could stop thinking about sharks. "I thought I was going to vomit I was so scared," Kate said.


    Finally, after 14 hours, they came within 30 feet of land only to discover the coast was covered with cliffs, making it impossible to climb from the ocean. “We knew we would get crushed,” Kate said.


    They kept swimming, Yamaha outboards Sale finally finding a small stretch of sand. Once ashore, they collapsed before again going into survival mode to avoid hypothermia. They hiked into the island and huddled together, covering themselves in grass and brush to stay warm. They spent the night like that, only moving when the sun rose. It took three hours before they found a farmer, who called police and gave them water and crackers.


    They would later find out that the captain and first mate had been rescued after 23 hours in the ocean.


    Despite dehydration, severe tendonitis and Honda outboards Sale cuts over their feet and back, the couple didn't blame anyone for the ordeal.


    "We are so grateful to be alive right now," Kate Suski said. "Nothing can sort of puncture that bubble."



  • YES! I finally found this web page! I’ve been looking just for this article for so long!!

    [url=http://www.ukarenmillendresses.co.uk/]Karen Millen Outlet[/url]
    [url=http://www.ukarenmillendresses.co.uk/karen-millen-coats-c-1.html]Karen Millen Coats[/url]
    [url=http://www.ukarenmillendresses.co.uk/karen-millen-new-arrival-c-6.html]Karen Millen Dresses Sale[/url]
  • The MB Star C3 best way to get a great deal on your next vehicle is to find some cheap used car sales. You may not realize it, but used car auctions happen all the time. The trick is knowing where they happen and when they're going on. If you are able to locate a good auction, you might be able to get a high quality vehicle for just a few hundred dollars - sometimes even less.
    When it comes to cheap used car sales, you have a few different options.
    First, I would suggest that you check out government vehicle auctions. For any number of reasons, different government agencies acquire a lot of good quality vehicles - and they often auction these off at great prices. Whether a car or truck was seized for nonpayment of taxes, repossessed, or stolen and never claimed, government auctions Ford Ids Vcm are a great option.

    You might also want to check out estate sales. A lot of antique collectors frequent these types of sales, but you can often find a great deal on a car as well. You just need to pay attention to where these sales are happening. Oftentimes, you might be able to find a listing with a preview of the types of items that will be sold. If you see any vehicles on that list, then go for it!

    The trick is knowing where and when these sales happen. Check your local newspapers and keep your eye on different auction listing websites to make sure that you are at cheap used car sales where you might get the best deal of your life.

    Check Diagnostics OBD2 out government vehicle auctions at:


    There are a lot of places that you can find cheap used cars under 1000 dollars. The best part? If you look at the right places and shop from the right sources, these vehicles are often very high quality and usually relatively new. I'm not talking about buying your great uncle's 1988 Tempo either.
    So, what's the secret? Look for vehicle auctions. Auctions are a virtually untapped market when it comes to the everyday buyer. A lot of people who own car lots know the secret, but very few private citizens, like you and I, ever visit automobile auctions - it just never crosses our mind. However, once you realize how valuable this resource is, you'll need to find where the best auctions are happening and when.

    There are GMTech 2 a few web sites that list where you can find auctions that you can buy cheap used cars under 1000 bucks, but to find the best listing sites you will really need to do some digging. Some services with charge you a small fee, and in return you'll receive verified monthly auction listings. If you find a reputable service you might be able to get the information about some really great vehicle auctions. So, if you are in the market I would suggest that you start your search by finding one of these services.

    If you don't want to fork over the money for a subscription to an auction listing service, you could look for auction listings yourself. Even though this is more difficult, it's free! Keep your eyes posted on the local classifieds section and scour the internet for auction web sites. Don't just jump on eBay.com. Instead, look for web sites that specifically list vehicle auctions, which is your best bet.AK-47