How change the captcha noise images

on 24-Oct-2009 | Comments ( 0 ) Tags: Evolution

Change the images

noise imagesModx offers by default 4 noise images.

In order to change them to match your website you have to navigate to manager/includes/noises and replace those 4 .jpg files with new ones.

The new noise images will be used by the manager login page, Jot and probably eForm. Other snippets might make use of them as well.

Add more images

To add more images you can modify manager/includes/veriword.php file.

Just change the following line to match the number of images you want to use.

/* pick one background image randomly from image directory */
$img_file = $this->dir_noise."noise".rand(1,4).".jpg";

Change "4" to your total number of images.

Note: When upgrading the noise images and veriword.php are replaced. Make sure you you keep a copy of your images and modify the verioword.php accordingly.

Write a comment

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.

Quick modx Evolution Tags

  • cached [[snippet]] or uncached [!snippet!]
  • {{chunk}}
  • [+placeholder+]
  • [*resourceField/TV*]
  • [^timing^]
  • [~link~]

Quick modx Revolution Tags

  • [[snippet]]
  • [[$chunk]]
  • [[+placeholder]]
  • [[*resourceField/TV]]
  • [[~link]]
  • [^timing^]
  • [[++systemSetting]]
  • [[%languageStringKey]]
  • all tags can be called un-cached like: [[! snippet]]

Timing Tags (Evo and Revo)

  • [^qt^] - Query time
  • [^q^] - Query count
  • [^p^] - Parse time
  • [^t^] - Total time
  • [^s^] - Source
© modxRULES! 2009-2014