Create a template column in Glide and use this url:
https://res.cloudinary.com/glide/image/fetch/f_auto,h_500,w_500,c_fill,co_rgb:000,e_colorize:50/l_text:Arial_400_stroke:{number},co_rgb:fff,bo_0px_solid_rgb:fff,x_0,y_0/{image_url}
Replace:
{number}
with the number you want to overlay
{image_url}
with the image you want to add the number to
What the image modifications do:
f_auto,h_500,w_500,c_fill
- makes the image a square
co_rgb:000,e_colorize:50
- add the grey image overlay
l_text:Arial_400_stroke:{number},co_rgb:fff
- adds the number on top of the image (size = 400 and color = white)
bo_0px_solid_rgb:fff
- (optional) add a border to the number
x_0,y_0
- (optional) move the number up/down/left/right
Learn more and other examples here:
3 Likes
If you ever want to get a little experimental and try this with javascript, here are some examples.
2 Likes