can you post your script for the pic on failed pin attempts? That is brilliant!
That's what I thought when I came across the idea somewhere on the net. To accomplish this you'll need 2 free apps from the market which will work as plugins for Tasker. They are Secure Settings and Dropsync.
Create a new profile. I called mine "Unlock Fail" and for the first context choose State > Plugin > Secure Settings. For Secure Settings press Edit, Failed Login Attempts, and enter the maximum number of failed login attempts. I went with 3.
Next, under Task Selection, press new tasks (name it if you want). Media > Take Photo > Camera = Front, File Name = failedlogin, Naming Sequence = Series, Insert in Gallery = Checked, Discreet = Checked, the rest of the options I left at the default.
+ to add another action. Plugin > Dropsync, Edit, Sync now. (This action/plugin might not be needed depending on if you are using the Dropbox app auto upload feature. Not sure, I never tested it. The one downside of leaving it up to the Dropbox app to upload would be the power/wifi conditions you set).
In Dropsync you'll need to set up the folder the picture gets saved to with the corresponding folder in Dropbox. That should be it. Again... I didn't come up with this on my own. It's just a great idea I found. I'm thinking about trying to take it a step farther by adding more actions to turn on GPS, get location, text it to my wife's phone, and then turn GPS back off.