Feature Request: Allow more control over placeholder

Open
#422 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by locating the SDK's placeholder implementation and reading how the current placeholder modes and image transition are generated. Compare the requested per-mode properties and fade, speed, and delay controls with the existing behavior, then identify the tests covering placeholders. Done means the supported controls are defined, implemented, and verified without the current blinking transition.

Written by the indexing model from the issue text.

Description

Hi, I love this new version of the SDK so far!
But I do which that we would have more contrôl over the image placeholders.

Examples:

  • Control some props for each mode: placeholder('pixelate', [10]), placeholder('blur', [600]), ...
  • Control the transition from placeholder to definitive image: fade, speed, delay, ... (currently the image simply blinks)
Dominant language
HTML
Stars
56
Forks
11
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/js-url-gen

All issues in cloudinary/js-url-gen

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.