0 Favourites

Multiple images uploader, for those in need

  • I have seen quite a few topics relating to multiple images uploading, so I thought ... lemme try <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Gave it a few hours and I succeeded <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek">

    Just 9 events and a tiny php file.

    Here is a demo

    The demo is not configured to send stuff to my server <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">, but works for selecting images.

    This uses R0j0hounds paster plugin <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> (great stuff man)

    It uses a php capable webserver as a back-end to store the images on a server.

    I used an array to bypass the need for those nasty frames if you want to add unlimited images <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    Config / Settings

    • On your webserver, make a folder called "imageuploader", in here you place the from zip extracted php file from this dropbox link.
    • In the Capx file in this dropbox link, replace the global var content with your web address.

    ie

    "Your Web Without HTTP and no Folder Name" needs to become "yourwebsite.com"

    If you created the imageuploader folder in a sub directory, say 'test', the address becomes yourwebsite.com/test

    Usage

    Select one or multiple images for upload, and when done, click OK. This will start sending the files to your server. (mere second)There are little scaled thumbs generated, you can click them to show the bigger image <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    The PHP file has a bit of extra, it can also read the images from the folder automatically.

    So, if your entered web adres mysite.com c2 global var, you can use a browser to open http://mysite.com/imageuploader/image.php and it will display your images (after you uploaded them and did a reload of course)

    this is just a first version .... I will update it perhaps ... perhaps not ...

    Feel free to steal it and get your freak on <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)