Pico Plugin for handling placeholder images.
Start by moving the plugins/nano_placeholder.php
file into your existing Pico install. Then define the placeholder attributes in the configuration array. You can override the default
attributes or define custom styles.
$config["nano_placeholder"] = array(
"default" => array(
"background_color" => "CCCCCC",
"text_color" => "666666",
"image" => false,
"text" => false
),
"custom" => array(
"background_color" => "222222",
"text_color" => "666666",
"image" => false,
"text" => "Placeholder"
)
);
You can then start requesting placeholder images:
http://site.com/placeholder/300x300
http://site.com/placeholder/custom/300x300