cloudinary / cloudinary/cloudinary_gem

data-src

Đang mở
#367 1 bình luận 0 reaction 1 người được giao Được @eyalktCloudinary nhận Xem trên GitHub
question
Ngôn ngữ chính
Ruby
Star
420
Fork
285
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.