def show_image_width_height_caption(width, height, caption):
  width = min([width, 5000])
  height = min([height, 5000])
  bg_color_hex = request.args.get('bg_color', '#C7C7C7')
  text_color = hex_to_rgb(request.args.get('text_color', '#8F8F8F'))
  text_color_hex = request.args.get('text_color', '#8F8F8F')
  return generate(width, height, caption, hex_to_rgb(bg_color_hex), hex_to_rgb(text_color_hex))