Hi all,
Thanks for your participation in the Weekly Assignment board. I hope we are all learning from each other and improving our photography skills here.
As you probably already noticed, a rating system is installed.
You can rate a topic (image) from 1 to 5 (5 being the highest).
The rating is anonymous, and you should feel comfortable to express your opinion through your vote.
Remember you can only vote once for each image and Guests are not allow to participate in the rating.
Please participate. This time it will be only a test, so no prizes will be given. Starting in Assignment #6, we can start adding a few goodies as an incentive.
Any feedback is welcome!
Edited by Fred Miranda on 09-Mar-2002 at 01:51 PM GMT
To all:
Try posting your best image for the assignment. If unsure, post your candidate images and we will help choosing the best of the bunch. Then repost (on the same message) your choice.
Instead of the numbers, the rating should be changed by symbols (like stars, smilies, etc...). They will still be rated from 1 to 5 though.
Everything should be done before assignment #5 starts. Please vote.
I am thinking giving actions as prizes. What do you think?
Fred Miranda wrote:
I have a upload feature ready to install in the forum, but I'm still concern with security.
All Best,
Fred
Fred, would you like some help in the security department? If so, mail me your questions/problems/whatever at [email protected] - I have quite some experience in this field (web/PHP/security). I'd be glad to help you out.
@AVL_
Thanks for the interest. How safe do you think an image upload feature would be. I would allow the following formats:
jpg, jpeg, zip, sit, doc, txt and others. Let me know.
Fred Miranda wrote:
@AVL_
Thanks for the interest. How safe do you think an image upload feature would be. I would allow the following formats:
jpg, jpeg, zip, sit, doc, txt and others. Let me know.
Hi Fred,
Image uploading can be very safe, but it depends on how you implement it. I would allow only jpegs, as the other types don't seem necessary on this site. Word documents can contain macro viruses, .zips can contain viruses... An image can be fully checked. I would probably do it like this:
1) check if the uploaded file has the JPEG MIME-type and if it's not too big
2) if so, save the uploaded file to a directory that is not accessible to users browsing your site (prevent this with a .htaccess file in this directory). This will be a temporary file. Then, create the final image by doing a ImageCreateFromJPEG($filename) where $filename is the name of the file just saved. If this generates any errors, the source file isn't a real JPEG file. Write the image to a new file in a directory that is accessible for everyone with ImageJPEG(). You can now delete the temporary file with PHP's unlink() option.
This way, you're absolutely sure that the uploaded file is a real JPEG (you created it yourself from another file ), and it won't cause any harm to anybody.
You could save server bandwidth (don't know how much you have, but I do know it will be booming when you have an upload feature) by only allowing logged in members to view the uploaded pictures, or at least only allow people to view the picture if they're on www.fredmiranda.com, to prevent image linking on other sites.
If you want any further details about anything I just said or some example source code, don't hesitate to contact me at [email protected]. I'd be happy to help with any problems you encounter (anything to make this forum better!)
I agree...allow only JPEG (JPG/JPEG), as that will limit your security risk. It isn't necessary for any other format, as we all can submit JPEG's. I really don't think anyone here would want to upload TIFF/RAW for their own copyright reasons & space limitations on your server. Limiting it to forum members is a good safety measure too...keeps the quality and integrity of posts where we all like it.
I think the Actions as prizes is a good idea, but I really think we all just want to share our creativity/perspective, and all critique comments are appreciated, positive or constructive, in the spirit of photography.
Personally, I believe that most of us feel that participating in such a wonderful forum is prize enough. (Not to say that your Actions aren't priceless to us, I know I have them all!)