Webmastersite.net
Register Log In

GD security image..
without color - possible?

Comments on GD security image..

Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Oct 03, 2007 - 7:12 AM:

Hi,

1) due to the design of my page, is there any possibility to change the security image to sepia colors or b/w?
I gues this is not trivial - so, maybe is there (an easy) option to change GD to sth else?

Also, without colors, idea might result in a security leak, doesn't it?



2) another thing: you once scaled up the security image for bigger screens:
www.webmastersite.net/forum...y_imagetoo_small-6211.html

is this necessary? what's the actual state? can i change the scale?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 03, 2007 - 5:24 PM:

I'm not sure it's as effective against spammers without the random colors.

The size can be changed in your tweaks file. scripts.webmastersite.net/w...pan-tweaksspanphp-359.html

I'm making a grayscale tweak for 4.1.5.
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Oct 04, 2007 - 4:48 AM:

that's great, thx!

btw: where do i put tweaks.php? to all the other php's? In Xampp (under \wsnlinks), i don't get the size of the securityimage changed..

and what is the default size of the image in px (100%)?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 04, 2007 - 5:08 PM:

It goes in the main WSN Links directory. Of course since you're using an outdated version I can't tell you what works with it.
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Nov 06, 2007 - 6:12 AM:

hi,

with 4.1.11, my tweaks.php values have no effect:
<?php
$securityimagegrayscale = true; // set true to make the security image be grayscale instead of colored
$finalwidth = 150; // width of security image in pixels
$finalheight = 82; // height of security image in pixels
?>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 06, 2007 - 11:49 AM:

Copying and pasting directly from your post saving as tweaks.php, I see: http://www.webmastersite.net/screenshots/1125.jpg
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Nov 06, 2007 - 12:35 PM:

hmm,
what could the reason be? Also my other tweak.php entries aren't recognized..
do i have to tell wsn that the tweak exists?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 06, 2007 - 2:34 PM:

If you named it tweak.php, that would be a reason.
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
Posted Nov 06, 2007 - 3:08 PM:

hehe i thought it could not be that easy.

btw: do u still remember what the default size (100%) of the GD image was? or will it always be newly calculated, not scaled up?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted Nov 07, 2007 - 11:05 AM:

150x82
Starship-Trooper
Experienced

Usergroup: Customer
Joined: Jan 06, 2007

Total Topics: 33
Total Comments: 84
#11 - Quote - Permalink
Posted Nov 07, 2007 - 1:05 PM:

oh ok smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.