placeholder image api code example
Example 1: lorum picsum
<img src="https://picsum.photos/200"/>;
Example 2: create transparent placeholder img
from PIL import Image
img = Image.new('RGB', (32,32), color='white')
img.save('empty.png')
quit()
Example 3: lorem picsum
{
"id": "0",
"author": "Alejandro Escamilla",
"width": 5616,
"height": 3744,
"url": "https://unsplash.com/...",
"download_url": "https://picsum.photos/..."
}
Example 4: create transparent placeholder img
convert -size 32x32 xc:white empty.jpg