cloudinary / cloudinary/cloudinary_gem

data-src

Open
#367 1 comment 0 reactions 1 assignee Claimed by @eyalktCloudinary View on GitHub
question
Dominant language
Ruby
Stars
420
Forks
285
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.