Search:
All Any

Part of mariaus.info network Subscribe via RSS
Follow on twitter Request a tutorial
Create an automated reusable software box model
Non destructive deletion with layer masks
Quick tip: Inset shapes, lines and text
Create a background for a space scene
Visitor request: Creating photo collages in photoshop
Photography and art inspiration # 2
Photography and art inspiration # 4
Photography and art inspiration # 3
Photography and art inspiration # 1
Go to first pageAdd to favorites (this)Contact page ownerRequest a tutorialSubscribe to the Tip Kit news
Request a tutorial
A hidden image trick for Internet Explorer

This is sort of an "optical illusion" and a method of hiding one image in another for Internet Explorer browsers.
I've recently remembered a very neat trick with images which is probably not so useful, but still interesting nevertheless. There's probably no practical application for it - it's just fun :) A result of this tutorial will be an image that, when selected in Internet Explorer browser, changes to another image. There is no scripting or programming involved - just a single image that magically changes to another on selection. This technique doesn't work well with all images, but since it's just fun - who cares! :) Let's just find two images that work and do something with them. Actually, if you use a Filter > Render > Clouds for the first image and some grayscale picture for the hidden - it will most likely work just fine. But before we begin, let's have a look what we will be making. Open this page in Internet Explorer (i know i know, it's a sin, but God will forgive you) and hit CTRL+A to select all the stuff. You will notice that the image below changes to something else:

img/p62_001.png
Open this page in Internet Explorer and press CTRL+A
to see a hidden image


So let's begin creating this magic :) We'll need two images. I found that grayscale works pretty good so let's use this image as an original and hide this image inside. The first thing we will do is crop both images so that they were the same size. I'm going to be working with rather small images to fit in this page (i won't be able to resize them later easily), but you can work with originals if you want. I'm gonna convert both of these images to 450x250. I'll show you how to do that with the first one. Open any of the two images in Photoshop, grab the crop tool img/ps_tool_crop.jpg from the tools palette and set the dimensions in the tool settings panel:

img/p62_001.jpg

Now draw a crop rectangle around an area you want to leave intact (everything else will be cropped). When you draw the rectangle, you'll notice that its aspect ratio is fixed - that's because we've defined the dimensions we want to use and Photoshop now sticks to the same ratio. Here's the area i've decided to leave in the first image:

img/p62_002.jpg

Press ENTER to apply and you'll notice that the cropped image will automatically be resized to the desired dimensions (in my case it's 450x250). Do the same with the other picture. OK now go back to the picture with the girl's eyes and copy it (CTRL+A, CTRL+C). Then go to the picture with the girl and a cat and press CTRL+V to paste on a new layer. The girl with the cat should now be on the lower layer and the eyes should be on top. If the bottom layer has a little lock icon next to its title, double-click it to unlock. Rename these layers so that you don't get confused: rename the top one to original and the bottom one to hidden. Now create a new layer and move it all the way down. Fill it with white (D, X, ALT+BACKSPACE). Here's what you have so far:

img/p62_003.jpg

Time to add some magic. Create a new document with the size of 2x2 pixels. Yes, you've read right - 2x2 :) Zoom in lots of times and grab the pen tool img/ps_tool_pencil.jpg from the tools palette. Draw a mini black and white checkboard like this:

img/p62_004.jpg


Now click on Edit > Define Pattern ..., give it a name and click OK. You can close this document, we don't need it anymore. Go back to the document we're working with and create a new layer above the hidden layer. Name it pattern. Go to Edit > Fill ... and fill this layer with our checkboard:

img/p62_005.jpg

Change the pattern layer's blending mode to exclusion and here's the layer structure so far:

img/p62_006.jpg

To increase the stealth of the hidden image, we'll render some clouds on top of the original. Create a new layer on top of everyghing else, press D and go to Filter > Render > Clouds. Change the blending mode to screen and the opacity to about 40%:

img/p62_007.jpg

With the topmost layer selected, press CTRL+E to merge it down with the original layer. Now change the opacity of the original layer to about 70%:

img/p62_008.jpg

We're almost done. If we tried the effect now, we'd see an inverted version of the girl with the cat. To fix this, select the hidden layer and invert its colors (CTRL+I). Last thing to do is to save this image as a high quality graphics. So a PNG format is probably the best solution. Save it and open in Internet Explorer. Then press CTRL+A to select the entire document and the girl with the cat should be revealed.

img/p62_001.png
Open this page in Internet Explorer and press CTRL+A
to see a hidden image

Article written by: Marius S.
This article is an intellectual property of its respective author. All images, used here are property of tip-kit.com if not stated otherwise.
Share this article
Digg del.icio.us Facebook Furl Google Reddit Slashdot StumbleUpon Technorati
How easy was it to understand? Was it useful?










Leave a reply
Your name:

Message:

Confirmation code
Please enter the above code:
someone says:
except ie6 doesn't support .png and
stop supporting ie6 users
just stop
it's because of you more people will go use ie6

no just kidding,
I learned this trick 5 years ago though,
good tut (-half a decade)
2009-07-29 19:44:57 (GMT)
Marius S. says:
And who said anything about IE6?
a) Newer versions support this trick as well
b) IE6 does not support TRANSLUCENT PNG, it works fine with other PNG images. I know the trick is old and i'm not trying to say it ain't, it's just that nowadays many people haven't even heard of it so it's still fun.
2009-07-29 19:59:57 (GMT)
Master Zero says:
Great tutorial, I for one did not know this trick!
2009-07-30 00:08:26 (GMT)
why you wanna know says:
WOW i favorited this page so i can keep coming back so i wont forget THANK YOU
2009-07-30 03:04:01 (GMT)
shailzasharma says:
plz send me photohop effect in ful detail.
my id i:-shailzasharma38 yahoo.com
2009-07-30 12:29:13 (GMT)
ThatGuy says:
Why do some have to act like they've got a stick in thier buts?? I've been using computers for a long time and Photoshop for as long as well but I've never even seen this type of thing before. I think it's kind of cool myself, nice job on bringing back the retro stuff!!
2009-07-31 14:55:38 (GMT)
Mostafa says:
Wow Great work mAn , i like the tirck so much thanks for Sharing it , and i hope u make always like that tricks : O so benifit and alot of fun : ) ,
2009-09-08 21:04:13 (GMT)
Copyright © 2009 Tip-Kit.Com | Valid XHTML 1.0 | Powered By Isis | RSS