Description Usage Arguments Value
Add image url prefix to image column
1 2 3 4 5 6 7 8 9 | fix_image_link(
df,
df_image_url_col_name = "图片",
df_image_title_col_name = "SKU",
image_pattern = ".*.[a-z]+",
sku_image_url_prefix_1 = getOption("sku_image_url_prefix_1"),
title_pattern_for_prefix_2 = "^C.*",
sku_image_url_prefix_2 = getOption("sku_image_url_prefix_2")
)
|
df |
a tbl or dataframe |
df_image_url_col_name |
Column name of image url |
df_image_title_col_name |
Column name of image title |
image_pattern |
Only fix image with this pattern; set others to |
sku_image_url_prefix_1 |
image url prefix 1 |
title_pattern_for_prefix_2 |
When the title column has this pattern, fix with image url prefix 2. Otherwise fix with image url prefix 1. |
sku_image_url_prefix_2 |
image url prefix 2 |
df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.