Log in

View Full Version : Image Resize Help Please...


Mr. Bone88
08-25-2005, 01:17 AM
Hello everyone,

I've been looking for an image resizing hack to use on my vBulletin 3.5 RC2 forum and found one that works for me. But, I have a problem. It works fine and resizes the image and allows you to click on it which opens a new window that shows the original size picture, but the problem is with the mouse over. When I use IE and put my mouse pointer over the resized images it shows a hand and says "click here to see a large version" but when I put my mouse pointer over the resized image with Firefox it wont turn the pointer into the hand and doesn't says "click here to see a large version." Is there a way to fix this for Firefox users? I mean it still functions right and all, but just doesn't show the hand or say the text. Please see the code I'm using in my class_bbcode.php file below. Also you can see what I'm talking about at my forum below the code:

return '<img src="' . $link . '" onload="if(screen.width-650 < this.width) {this.width=screen.width-650;this.alt=\'Click here to see a large version!\';}" onmouseover="if(this.alt) this.style.cursor=\'hand\';" onclick="if(this.alt) window.open(\'' . $link . '\');" border="0">';

My Forum (http://www.featuredpics.com/forum/showthread.php?t=10)

Any help would be appreciated! :D

Thank you,
~Mr. Bone88

Mr. Bone88
08-26-2005, 04:19 AM
Can anyone help me please?

Thanks,
~Mr. Bone88

plateau
08-26-2005, 04:50 PM
ya, i am also reported the problem with ALT in firefox.

Mr. Bone88
08-27-2005, 11:07 PM
Is there a fix for this? Can anyone help?

Thanks,
~Mr. Bone88