Mug Shot

Signed-In Members Don't See This Ad
Signed-In Members Don't See This Ad
Gotta say, that is pretty cool. What software did you use to do it?


The Web Software is called Namo web editor.

The photo effect is just a short Java script.

<script language="JavaScript">
<!--

/* X-ray mouse script by Paul Anderson, copyright 2001 CNET Builder.com.
May be freely used with attribution. Not for resale. */

var divX,divY,swtDiv,showWidth,showHeight;
showWidth=100;
showHeight=80;

function initEvents() {
swtDiv=document.getElementById?document.getElementById("swtHidden"):document.all?document.all["swtHidden"]:document.layers?document.layers["swtHidden"]:null;
if (document.layers) {
swtDiv.style=swtDiv;
document.captureEvents(Event.MOUSEMOVE);
}
if (swtDiv) {
document.onmousemove=doMouse;
}
}
window.onload=initEvents;

function doMouse(arg) {
ev=arg?arg:event;
divX=(ev.pageX?ev.pageX:ev.clientX)-parseInt(swtDiv.style.left);
divY=(ev.pageY?ev.pageY:ev.clientY)-parseInt(swtDiv.style.top);
if (swtDiv.clip) {
/* Nav 4 bugs addresed here: clip outside layer deactivates links,
event.pageX|pageY of zero evaluates as NaN. Go figure. */
swtDiv.clip.left=(divX>showWidth/2)?divX-showWidth/2:0;
swtDiv.clip.top=(divY>showHeight/2)?divY-showHeight/2:0;
newRight=(isNaN(divX)?0:divX)+showWidth/2;
maxRight=swtDiv.document.images[0].width;
swtDiv.clip.right=(newRight<maxRight)?newRight:maxRight;
newBottom=(isNaN(divY)?0:divY)+showHeight/2;
maxBottom=swtDiv.document.images[0].height;
swtDiv.clip.bottom=(newBottom<maxBottom)?newBottom:maxBottom;
} else {
swtDiv.style.clip="rect("+(divY-showHeight/2)+" "+(divX+showWidth/2)+" "+(divY+showHeight/2)+" "+(divX-showWidth/2)+")";
}
}
//-->
</script>




<div style="top:80;left:20;position:absolute;">
<img src="image1.jpg" width=350 height=250>
</div>
<div style="top:80;left:20;position:absolute;clip:rect(0 0 0 0);" id="swtHidden">
<img src="image2.jpg" width=350 height=250>
</div>
 
Namo's up to version 8? Hmm..

I'm an old Coffee Cup guy myself. Though I have to load up Windows on my Mac to use it. So for quick edits I use TextWrangler.
 
Randy,
That is very cool. It remnds me of those pens back in the 80's that had a picture of the pinup girls you turned upside down... Good thing it stops at the face shield.
 
Randy,
That is very cool. It remnds me of those pens back in the 80's that had a picture of the pinup girls you turned upside down... Good thing it stops at the face shield.

LOL

But nevertheless it is pretty cool! Now, can you apply that same effect to a pen photo?...To highlight the inner workings maybe? Or before a filigree is superimposed? Other?:confused:
 
Last edited:
LOL

But nevertheless it is pretty cool! Now, can you apply that same effect to a pen photo?...To highlight the inner workings maybe? Or before a filigree is superimposed? Other?:confused:

I would bet you could do something like that. The photos would have to be the same number of pixels. But it isn't a standard photo. You would have to have it on a web page. Not sure if it would work on a message...

I have a Java applet called Zoomify. It takes a photo and breaks it up into "tiles" and you can pan and zoom in on the photo.

Sometime this week I'll see if I can get a detailed pen photo and see how it looks. Just got a new camera, my old one bit the dust.
 
I have a Java applet called Zoomify. It takes a photo and breaks it up into "tiles" and you can pan and zoom in on the photo.

Sometime this week I'll see if I can get a detailed pen photo and see how it looks. Just got a new camera, my old one bit the dust.


OK; I was playing on my computer yesterday so here is a very rough idea using zoomify. This is a small java and flash applet that allows you to zoom in on a photo and pan around on the photo. It takes up about 900 kb on the web server. I'm not sure if you could include it in a sales cart or not.

http://www.coleman-family.org/zoomify/template.htm


I use the program to display close ups of our Family Reunion photos.

http://www.coleman-family.org/group_photo_2009_zoom.htm
 
Back
Top Bottom