Programming image rollovers for Safari 3 has presented challenges, as many developers report issues following the browser's update. The basic rollover code using onmouseover and onmouseout works in various browsers, including Safari 3 for Windows, but inconsistencies arise in Safari 3 for Mac. A user shared a working code snippet and discussed using PHP for dynamic image handling in navigation menus. They suggested that by integrating PHP, the need for JavaScript could be eliminated when the user is on the relevant page. The proposed solution involves conditionally rendering the image source based on the current script name, allowing for both active and rollover states without relying solely on JavaScript.