Sorry I must have missed the email notification for you message!
For file uploads, I think you could use something like fine-uploader or some other library like that to get the async file upload going. Once the file is uploaded you could simply save the image to a specific folder you have somewhere and return the file path back to client side. From there users could submit the contest form and send in that path. Then you would add a column to the contestant table for the "pathToImage" and save the submitted path to the table.
This is quite straightforward to put it actually! And it's a pretty good idea, I'll consider it for sure next time I get and iteration on this project.
Ohh and you would also have to update the backoffice grid, maybe with a library like imageresizer to generate thumbnails and target blank links so that your content editors can look through the images.
If this comes too late and you already got around to do this, please send a link, I'd be very interested in taking a look!
How to integrate picture upload to contest page
This looks like an excellent package to make life easier for most.
Im wondering how one can integrate picture upload to the contest front-end,
for contestants to upload their picture.
If You may have any pointers would be greatly appreciated.
Keilo
Hi Keilo!
Sorry I must have missed the email notification for you message!
For file uploads, I think you could use something like fine-uploader or some other library like that to get the async file upload going. Once the file is uploaded you could simply save the image to a specific folder you have somewhere and return the file path back to client side. From there users could submit the contest form and send in that path. Then you would add a column to the contestant table for the "pathToImage" and save the submitted path to the table.
This is quite straightforward to put it actually! And it's a pretty good idea, I'll consider it for sure next time I get and iteration on this project.
Ohh and you would also have to update the backoffice grid, maybe with a library like imageresizer to generate thumbnails and target blank links so that your content editors can look through the images.
If this comes too late and you already got around to do this, please send a link, I'd be very interested in taking a look!
Thanks!
is working on a reply...