Feature Request: Allow more control over placeholder
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)
Hi there, We support the feature of blur, pixelate for image placeholders. Please check out:
documentation: https://cloudinary.com/documentation/react_image_manipulation#image_placeholders tutorial: https://cloudinary.com/documentation/advanced_image_components_tutorial
Please let me know if you have further questions. Thanks, Mo
Hey, @momoip I'm aware that those are already features, this request is about extending them
Currently, those plugins only accept a string each (SDK v2), my suggestion would be to add a second argument Array which could be passed to the placeholder actions.
This array would make it possible to control the level of pixelation, blur, vectorization, ...
This could also open the door to custom placeholders by exposing the image var
placeholder('custom', [(image) => image.effect(cartoonify())])
Hi fcisio, Thanks for the clarifications. I will consult our team to see if it's on our roadmap. If not, I can create a feature request for this. Cheers,
Hi fcisio, I've created a feature request based on your inputs. Thanks.