Jul 21, '03 08:50:00AM • Contributed by: bluehz
The image you need to replace is located at /System -> Library -> Frameworks -> WebKit.framework -> Versions -> A -> Resources -> missing_image.tiff.
Read the rest of the article for the how-to on replacing the image (the process in short)...
[robg adds: There's a script in the remainder of the article with some wide lines, so consider yourself warned about the width of this hint...]
Here's a summary of what you need to do:
- Back up the current icon by copying it to a file named missing_image.tiff-bak in the same directory.
- Create a new one-pixel tiff format file, name it missing_image.tiff
- Replace the old icon file with new icon file.
- Reset permissions (chmod 544) and ownership (chown root.wheel).
#!/bin/sh # # Replaces the blue "missing image" icon in Safari # # back up the original image sudo mv /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff-bak # copy the new image into place # image should be located in the same dir as this script # and named EXACTLY "missing_image.tiff" sudo cp missing_image.tiff /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/ # restore permissions sudo chown root.wheel /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff sudo chmod 544 /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff # done echo "The image has been successfully replaced!" echo "If you ever need to return to the old image" echo "run the following commands:" echo " sudo mv /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff-bak " echo " /System/Library/Frameworks/WebKit.framework/Versions/A/Resources/missing_image.tiff"If you want to download the script and one-pixel icon together - you can get it here.
