Have a landing page that users go to before being redirected to a site. If every image has an id in a database, then you can just change all the links in your page to something like click.php?id=[image id]
on click.php you update the database with the new click and redirect to the website. It would be simple and wouldn't require a direct edit of the code.
kkeith29
Nearly a Posting Virtuoso
1,357 posts since Jun 2007
Reputation Points: 235
Solved Threads: 194