View Full Version : Image Verification
paulyy
07-26-2004, 01:25 AM
I am wanting to duplicate the register.php page script to add it on my front page. I would ask for about 3 / 4 fiellds then they click submit, sort of a quick register. But I searched the vB files and couldn't find the Image Verification images.
I basically wanted to "re-create" the images to make them smaller to fit into my page better. Can anyone explain how the Image Verification images work, and where they are?
paulyy
07-26-2004, 11:26 PM
No one know?
mattster2002
07-27-2004, 11:34 AM
I'm pretty sure vB uses GD to generate the image on the fly.
So you wouldnt be able to find it in your images directory, To change the size just jump into your styles and templates editor in your control panel, select the register template under edit tempaltes and look for the line
<td rowspan="2"><img src="image.php?$session[sessionurl]type=regcheck&imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /></td>
Just change the width and height sections - I think thats prolly the easiest way.
Colin F
07-27-2004, 12:02 PM
If that squeezes up you're image too much, so that it's not readable, you might try changing the settings in the php file.
The image is made in image.php, you can change this for example:
// Resized image that blows up string.
$image_width = 201;
$image_height = 61;
mattster2002
07-27-2004, 12:28 PM
Ahh thats what i was looking for Colin :) Thats two in one night you've done it ;) You're a machine!
Colin F
07-27-2004, 01:33 PM
I have the advantage of it not being night here ;)
paulyy
07-27-2004, 10:46 PM
Thank you :) I'll try this out.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.