Website Domain Registration and Website Hosting - Host a Website Tonight
GoWebsite.com provides Domain Registration
Website Hosting, On-Line Shopping Carts,
Blog Hosting, Email Accounts, Security Certificates,
Merchant Accounts & other Website Products.

Frequently Asked Questions

Help Center Search

Protecting Photos Using a Transparent GIF and a Stylesheet

Print this Article
Comment on this Article

When you exchange photos on the Internet, you can embed a transparent GIF over your photos using a style sheet. When someone right-clicks on the image to save it, they get a transparent GIF rather than your photo. Adobe® Photoshop®, Corel® Paint Shop Pro®, and The Gimp are several photo-editing applications that you can use to embed the GIF.

In addition to a photo-editing application, you need to know the width and height of the image and some basic HTML knowledge.

To Determine the Size of Your Image

  1. Open your image file.
  2. Right-click on the image and select Properties.
  3. Open the Summary tab to see the basic image properties.
  4. Make a note of the width and height.

To Add a Transparent GIF using Photoshop

  1. Open Photoshop and from the File Menu, select New.
  2. In the dialog box, enter the width and height of your image and click OK.
  3. To hide the white background of the new file, on the Layers Palette, click the eye next to Background. A white and gray checkerboard displays.
  4. From the File menu, select Save for Web.
  5. In the Save for Web box, under Image File Extension, select GIF.
  6. Select Transparency.
  7. Click Save. In the Save box, select where you want to save the file and click Save.

To Create the HTML Style Sheet

  1. Open an HTML or text editor.
  2. Enter the following code between the head tags:
  3. < html> <head> <title>Untitled Document</title> <style> .transparent { background-image: url(yourimage.jpg); } </style> </head> <body> <img src="transparent.gif" class="transparent"/> </body> </html>

Now, when someone attempts to right-click and save your image, they get the transparent GIF instead.

Domain Registration Domain Registration
Pay less for website domain names. Register your own .com, .net or .org for as low as $8.67/yr. A free Email Account is included.
Website Hosting Website Tonight
For as little as $3.89 per month you can build your Website online with Website Tonight using our easy to use professionally designed templates.
Play Video
Shopping Cart Software Quick Shopping Cart
Build and run your own successful online store in minutes! You're just five easy steps away!
Play Video
Website Hosting Website Hosting
Everything you need to give your Website the reliable, high-performance home it deserves!