Placeholder image generation placehold.it

(1) Default: http://www.placehold.it/350x200/cccccc/969696.jpg/&text= loading ..

(2) the format: http: //www.placehold.it/widthxheight/bgcolor/textcolor [& text = hello + world]

Composition Description:

  1. http://www.placehold.it: website address.
  2. widthxheight: image width (width) and high (height), width and height of the middle note is x, instead *, such as 350x200; Meanwhile, height may be a default, then a default height = width, generated at this time is the edge length width of the square image.
  3. bgcolor: background color image, a value of 6-bit hexadecimal digits, such as ffffff, 7d7d7d like.
  4. textcolor: text color may be the default alone or simultaneously with bgcolor default, the same value bgcolor.
  5. & text = hello + world: If you want to add text on the picture, then on the last added throughout the url & text = text, if the middle of writing a space, then use +substitute; this field may default, the default display It is the image width and height.

  Of particular note are:

  * Widthxheight must be the first parameter;
  * bgcolor / textColor, the two parameters must be attached, can not be inserted into the middle of the other parameters;
  * = & text, if any, must be the last parameter.

(3) Refer to the following blog, thank bloggers!

         https://www.cnblogs.com/xumengxuan/p/4334082.html

Guess you like

Origin www.cnblogs.com/xiangxinhouse/p/11369581.html