Add  as an optional 4th parameter, like in the original gallery_graphics.php. Needed for event hooks.
Merge pull request #1 from mikeage/master

Add $item as an optional 4th parameter

Thanks a lot mikeage ! Sorry I must have missed the pull notification as I moved that repo to :
  https://github.com/letic/gallery3-contrib/tree/master/3.0/modules/jpegtran
for easier integration with upstream