Image placeholderNet is a dummy image service designed to draw attention to the need for an actual image
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SimplePlaceHolder
LICENSE
README.md

README.md

[Build status] (https://ci.appveyor.com/project/yemrekeskin/placeholdernet/branch/master) Join the chat at https://gitter.im/MvcGeekSamples

PlaceHolderNet

Image placeholder is a dummy image designed to draw attention to the need for an actual image.Placeholders can have custom colors, fonts, resizing behavior.

This project is a quick and simple image placeholder service that built asp.net mvc.This placeholder service allows you to automatically use a random image at the desired dimensions(width,height), background color, text color and text with minimal effort.

How does it work ? Just put your image size after our URL and you’ll get a placeholder.

Parameters ; Width, Height, Text, Background color, Text color

Usage Methods : You can use this service in 12 different ways.You can see it with samples

  • yourhost.com/Width / Height
  • yourhost.com/ Width
  • yourhost.com/ Width / Height / Text
  • yourhost.com/ Width / Text
  • yourhost.com/ BgColor / Width / Height
  • yourhost.com/ BgColor / Width
  • yourhost.com/ BgColor / Width / Height / Text
  • yourhost.com/ BgColor / Width / Text
  • yourhost.com/ BgColor / TextColor / Width / Height
  • yourhost.com/ BgColor / TextColor / Width
  • yourhost.com/ BgColor / TextColor / Width / Height / text
  • yourhost.com/ BgColor / TextColor / Width / Text

For Example :

  • img src=”yourhost.com/200/300”
  • img src=”yourhost.com/200”
  • img src=”yourhost.com/200/300/preview”
  • img src=”yourhost.com/200/preview”
  • img src=”yourhost.com/FF0000/200/300”
  • img src=”yourhost.com/FF0000/200”
  • img src=”yourhost.com/FF0000/200/300/preview”
  • img src=”yourhost.com/FF0000/200/preview”
  • img src=”yourhost.com/FF0000/FFFFFF/200/300”
  • img src=”yourhost.com/FF0000/FFFFFF/200”
  • img src=”yourhost.com/FF0000/FFFFFF/200/300/preview”
  • img src=”yourhost.com/FF0000/FFFFFF/200/preview”

License

The content of this project itself is licensed under the Creative Commons Attribution 3.0 license, and the underlying source code used to format and display that content is licensed under the MIT license.