Click to email this to a friend (Opens in new window)

Doug Ellin, the writer/director of the in-production “Entourage” movie, lost 500 photos he shot on set when his camera fell off a yacht, sources tell Page Six.

Ellin was filming scenes off the coast of Miami over the weekend with a bevy of bikini babes, and he also snapped hundreds of photos of all the action with his personal camera.

When the yacht shoot wrapped, cast and crew boarded a smaller boat to take them to shore, and Ellin’s camera fell between the two vessels.

We’re told Ellin offered $1,000 in cash to divers on the scene to recover it, but a source said, “It was like finding a needle in a haystack” because of the currents and the night skies.

The director managed to post a few enticing stills from the shoot on his Instagram page before the camera was lost.

After wrapping up their first week of shooting, the movie’s stars — Adrian Grenier, Kevin Connolly, Jerry Ferrara and Kevin Dillon — were spotted joining Ellin for dinner at Prime 112 Steakhouse in South Beach and toasting with Johnnie Walker Blue before partying at new nightclub, E11even.