cloudinary / cloudinary/cloudinary_gem

data-src

未关闭
#367 1 条评论 0 个 reaction 已指派 1 人 已被 @eyalktCloudinary 认领 在 GitHub 查看
question
主要语言
Ruby
星标
420
派生
285
PR 合并指标
30 天内没有已合并 PR

描述

Love the gem, thanks!

Using the helper method, my images are rendering src instead of ```data-src```. Is there a way the ```src``` attribute be ```data-src```?

Example returns
```
<%= cl_image_tag(item.photo.key, crop: "fill", flags: "lossy", fetch_format: "auto", width: 640, quality: "auto", client_hits: "true", sizes: "100vw") %>
```

// alt image url
```

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。