image placeholder code example
Example 1: lorum picsum
<img src="https://picsum.photos/200"/>;
Example 2: lorem picsum
<img src="https://picsum.photos/200/300?random=1">
<img src="https://picsum.photos/200/300?random=2">
Example 3: placeholder image
// This is the URL for the placeholder image
// To resize the image, change the last part of the URL to any size you want
https://via.placeholder.com/350x150
Example 4: create transparent placeholder img
from PIL import Image
img = Image.new('RGB', (32,32), color='white')
img.save('empty.png')
quit()
Example 5: create transparent placeholder img
convert -size 32x32 xc:white empty.jpg