Meta tags:
description= Learn how to migrate your JavaScript SDK (Legacy) code to use the latest JavaScript SDK.;
Headings (most frequently used words):
migrating, cloudinary, instance, configuration, javascript, migration, guide, documentation, index, get, started, with, install, agent, skills, introduction, key, considerations, installation, asset, delivery, urls, responsive, functionality, error,
Text of the page (most frequently used words):
video (264), and (244), image (205), transformations (165), sdk (155), upload (140), the (122), #cloudinary (104), api (94), images (86), reference (70), react (68), javascript (62), transformation (56), assets (55), with (54), introduction (53), for (48), media (47), player (45), next (43), node (43), sample (41), start (40), asset (40), vue (39), you (38), angular (37), management (36), quick (35), add (33), your (33), url (33), overview (33), php (32), optimization (32), delivery (30), python (29), product (28), apis (26), flutter (26), configure (26), library (25), widget (25), videos (24), advanced (24), optimize (24), 2026 (22), using (22), projects (22), legacy (21), 2023 (21), troubleshooting (21), sdks (20), tutorials (20), account (20), effects (20), get (19), 2024 (19), text (19), crop (19), content (19), started (18), gen (18), guide (18), dart (18), analysis (18), from (17), layer (17), android (17), ios (17), streaming (17), detection (17), google (17), tips (17), resize (17), may (16), native (16), gallery (16), accessibility (16), use (15), migration (15), svelte (15), net (15), ruby (15), rails (15), java (15), auto (15), audio (15), project (15), roles (15), step (15), this (14), 2025 (14), moderation (14), background (14), tagging (14), user (14), programmatic (14), ons (13), urls (13), app (13), builder (13), custom (13), social (13), code (12), core (12), migrating (12), remove (12), jquery (12), permissions (12), live (12), cropping (12), amazon (12), rekognition (12), color (12), modes (12), are (11), configuration (11), parameters (11), options (11), first (11), analyze (11), cli (11), automatic (11), deliver (11), manage (11), search (11), onboarding (11), how (10), release (10), notes (10), guides (10), syntax (10), skills (10), beta (10), visual (10), delete (10), signatures (10), conditional (10), can (9), new (9), usage (9), based (9), agent (9), october (9), laravel (9), uploads (9), metadata (9), see (8), latest (8), generated (8), action (8), update (8), postman (8), collections (8), references (8), imagga (8), create (8), specifying (8), animated (8), special (8), layers (8), gravity (8), types (8), named (8), files (8), hints (8), resources (8), all (7), faq (7), products (7), mobile (7), try (7), more (7), responsive (7), need (7), frontend (7), when (7), example (7), instance (7), console (7), settings (7), list (7), july (7), august (7), astro (7), kotlin (7), canvas (7), admin (7), removal (7), workflows (7), apps (7), presets (7), side (7), training (6), support (6), documentation (6), demos (6), page (6), error (6), additional (6), install (6), html (6), replace (6), functionality (6), migrate (6), find (6), before (6), integration (6), provisioning (6), creation (6), editor (6), generation (6), transcription (6), aware (6), customize (6), best (6), practices (6), public (6), type (6), uploading (6), crops (6), features (6), pdf (6), basics (6), dev (6), agents (6), pricing (5), cloud (5), what (5), method (5), existing (5), tag (5), environment (5), key (5), time (5), component (5), 2022 (5), january (5), february (5), april (5), studio (5), config (5), profiles (5), enhancement (5), extraction (5), scale (5), duplicate (5), interactive (5), controls (5), profile (5), transform (5), data (5), moderate (5), client (5), analytics (5), adaptive (5), bitrate (5), extension (5), tools (5), load (5), credentials (5), policy (4), blog (4), developers (4), retail (4), commerce (4), full (4), package (4), createcloudinarylegacyurl (4), function (4), cloud_name (4), set (4), installation (4), long (4), version (4), eager (4), one (4), file (4), c_scale (4), w_400 (4), f_auto (4), q_auto (4), developer (4), run (4), mcp (4), servers (4), june (4), september (4), november (4), starter (4), kit (4), access (4), why (4), disabled (4), sign (4), policies (4), assign (4), folder (4), pdfs (4), authentication (4), quality (4), failed (4), unsigned (4), formats (4), changelog (4), errors (4), recipes (4), defined (4), variables (4), arithmetic (4), condition (4), conditions (4), reshaping (4), artistic (4), enhancements (4), underlays (4), watermarking (4), transforming (4), fonts (4), placement (4), placing (4), trimming (4), resizing (4), flags (4), rollout (4), around (4), face (4), shape (4), padding (4), restore (4), fill (4), generative (4), zoompan (4), cards (4), backgrounds (4), drop (4), nuxt (4), generate (4), pages (4), events (3), getting (3), resource (3), our (3), non (3), dam (3), rate (3), feedback (3), name (3), email (3), should (3), frameworks (3), have (3), recommend (3), different (3), same (3), similar (3), setting (3), methods (3), object (3), application (3), only (3), does (3), tags (3), placeholder (3), via (3), cdn (3), increase (3), used (3), storage (3), delivered (3), https (3), com (3), any (3), apr (3), setup (3), download (3), previous (3), releases (3), drupal (3), netlify (3), gatsby (3), nuxtjs (3), community (3), developed (3), libraries (3), backend (3), claimable (3), webpurify (3), viesus (3), url2png (3), website (3), screenshots (3), pixelz (3), ocr (3), microsoft (3), azure (3), indexer (3), perception (3), point (3), malware (3), translation (3), vision (3), aspose (3), document (3), conversion (3), celebrity (3), facial (3), attributes (3), clarity (3), adaptability (3), accessible (3), buy (3), marketplace (3), review (3), picture (3), differentiators (3), counted (3), billing (3), plans (3), webhook (3), notifications (3), incoming (3), crud (3), post (3), processing (3), customizing (3), menu (3), default (3), glossary (3), enterprise (3), service (3), café (3), sessions (3), español (3), youtube (3), fetch (3), tutorial (3), feature (3), here (3), congrats (3), ready (3), faster (3), register (3), kickstart (3), starts (3), power (3), checks (3), privacy (2), contact (2), customers (2), about (2), there (2), security (2), want (2), was (2), rating (2), make (2), even (2), following (2), then (2), offered (2), which (2), above (2), large (2), number (2), implications (2), these (2), changes (2), things (2), know (2), such (2), import (2), json (2), not (2), bundle (2), size (2), into (2), piece (2), current (2), considerations (2), that (2), derived (2), res (2), demo (2), jpg (2), those (2), designed (2), than (2), learn (2), coding (2), assistant (2), copy (2), prompt (2), dec (2), feb (2), december (2), cloudinary_url_gen (2), active (2), attachinary (2), carrierwave (2), mixing (2), contrast (2), temporary (2), ugc (2), multi (2), channel (2), china (2), requirements (2), bot (2), traffic (2), control (2), successfully (2), rotate (2), keys (2), did (2), spike (2), optimizer (2), downgrade (2), plan (2), recover (2), credit (2), card (2), payments (2), cancel (2), system (2), define (2), saml (2), sso (2), high (2), adult (2), nsfw (2), permitted (2), naming (2), conventions (2), avoiding (2), already (2), fetched (2), underscores (2), ids (2), names (2), store (2), cookies (2), modify (2), original (2), dimensions (2), check (2), has (2), changed (2), issues (2), invalidate (2), cached (2), backups (2), provenance (2), authenticity (2), response (2), notification (2), inspector (2), semantic (2), rules (2), structured (2), contextual (2), expressions (2), cacheable (2), relate (2), rename (2), filemaker (2), uploaded (2), truncated (2), unsupported (2), always (2), square (2), requests (2), rejected (2), script (2), codec (2), duration (2), missing (2), play (2), simulated (2), poster (2), frame (2), logo (2), watermark (2), white (2), looping (2), gif (2), converting (2), previews (2), posters (2), rotating (2), playback (2), transition (2), concatenation (2), concatenating (2), transcoding (2), shoppable (2), ads (2), monetization (2), hls (2), mpeg (2), dash (2), playlists (2), recommendations (2), customization (2), embed (2), blurry (2), force (2), specific (2), sharing (2), links (2), facebook (2), detect (2), corrupted (2), lqip (2), byte (2), ttfb (2), webpagetest (2), org (2), without (2), gzip (2), compression (2), title (2), archives (2), photoshop (2), pictures (2), remote (2), dynamic (2), offset (2), position (2), solid (2), over (2), instagram (2), story (2), photo (2), percentage (2), horizontal (2), line (2), person (2), body (2), functions (2), models (2), refiners (2), focus (2), areas (2), recolor (2), cutouts (2), distortion (2), displacement (2), rotation (2), rounding (2), distorting (2), vertical (2), collage (2), layouts (2), upscaling (2), downscaling (2), format (2), shadows (2), effect (2), splice (2), trim (2), components (2), complex (2), watermarks (2), overlay (2), convert (2), overlays (2), enhance (2), abr (2), diagnosing (2), codes (2), solidjs (2), widgets (2), scripting (2), django (2), captioning (2), fallbacks (2), sanity (2), lazy (2), signature (2), interaction (2), webhooks (2), hono (2), remix (2), sveltekit (2), server (2), actions (2), drag (2), multiple (2), captions (2), programmatically (2), edits (2), secret (2), free (2), powered (2), brand (2), capabilities (2), tech (2), stack (2), platforms (2), integrations (2), easyflows (2), powerflows (2), mediaflows (2), index (2), theme (2), docs (2), 784, rights, reserved, dmca, notice, terms, education, sales, technical, trust, newsroom, careers, partners, company, profits, travel, hospitality, entertainment, solutions, programmable, again, unfortunately, been, sending, assistance, open, request, committed, protecting, information, details, send, back, improved, good, were, looking, thanks, submitting, got, love, hear, tell, liked, better, helpful, doc, sent, stay, tuned, updates, examples, powerful, take, look, related, topics, plugin, htmlimagelayer, will, entirely, resulting, slightly, way, caution, objects, relevant, classes, backwards, fetchlayer, textlayer, pass, return, source, included, call, simply, helper, build, specified, don, instances, note, cloudinaryimage, cloudname, also, per, imagetag, configuring, other, equivalent, instructions, assume, within, modular, both, packages, concurrently, although, recommended, term, due, increased, could, integrating, slowly, until, able, very, its, architecture, paths, depend, supports, help, transparent, reduce, impact, especially, delivers, transformed, maintains, formations, remain, require, regenerate, parameter, explicit, eagerly, enabled, allow, strict, caches, warmed, counts, looks, behaves, identically, cause, formed, differently, smaller, newly, added, autocomplete, ensure, supported, together, building, logical, discoverable, compiled, final, each, including, represents, separated, rather, qualifiers, improvements, provide, simpler, enhanced, experience, explains, last, updated, view, repo, github, give, class, context, working, paste, sets, installs, configures, validates, markdown, llm, discover, available, exploring, further, complete, llms, txt, device, dark, light, ask, toggle, navigation, them, now, important, plus, keep,
Text of the page (random words):
ent invalidate cached assets add ons troubleshooting and tips admin api authentication issues why has the public id of my asset changed asset id vs public id check resource type and delivery type get image or video dimensions download account assets delete or modify original images does cloudinary store any cookies underscores in public ids or folder names update already fetched asset upload manage and deliver pdfs cloudinary sample images avoiding duplicate uploads permitted naming conventions adult nsfw content policy high transformation rate account management account settings folder modes product environment settings user provisioning saml sso billing and plans roles and permissions migrating to roles and permissions legacy permissions manage assign roles in the console roles and permissions via api manage roles assign roles define custom policies system roles and policies list usage data how are transformations counted troubleshooting and tips cancel or delete cloudinary account sign up or add user with existing email credit card payments recover disabled account can t downgrade my plan migrate media optimizer account why did my usage spike rotate api keys in the console successfully go live with cloudinary bot traffic and access control china delivery requirements retail and e commerce best practices visual differentiators customize and optimize assets workflows product asset workflows non product asset workflows multi channel content delivery user generated content overview upload manage and analyze transform and customize optimize and deliver profile picture sample project video review sample project marketplace products sample project try before you buy sample project delete temporary ugc assets accessible media overview image accessibility video and audio accessibility image and video adaptability visual and audio clarity color accessibility text contrast and color audio controls and mixing interactive content and controls ai in action native mobile add ons advanced facial attributes detection amazon rekognition ai moderation amazon rekognition video moderation amazon rekognition auto tagging amazon rekognition celebrity detection aspose document conversion cloudinary ai background removal cloudinary ai content analysis overview object aware cropping automatic image tagging image analysis cloudinary ai vision cloudinary duplicate image detection cloudinary image generation google ai video moderation google ai video transcription google auto tagging google automatic video tagging google translation image to video image to video api reference imagga auto tagging imagga crop and scale perception point malware detection microsoft azure video indexer ocr text detection and extraction pixelz remove the background url2png website screenshots viesus automatic image enhancement webpurify image moderation references transformation url api upload api admin api cloudinary cli image apis analyze api beta image generation api video apis ai video analysis api beta image to video api live streaming api player profiles api video canvas api video config api video player api widget apis media editor api media library widget api product gallery api studio widget api upload widget api account management apis agent account creation api claimable cloud api permissions api provisioning api sdk references angular sdk reference dart sdk reference flutter sdk reference go sdk reference javascript sdk reference php sdk reference react sdk reference transformation builder reference vue js sdk reference postman collections sdks backend sdks node js sdk node js introduction node js quick start node js image and video upload node js image transformations node js video transformations node js asset management node js sample projects node js video tutorials python sdk python introduction python quick start python image and video upload python image transformations python video transformations python asset management python sample projects python video tutorials php sdk php introduction php quick start php image and video upload php image transformations php video transformations php asset management php sample projects php video tutorials php management reference php transformation reference java sdk java introduction java quick start java image and video upload java image transformations java video transformations java asset management ruby rails sdk ruby rails introduction ruby rails quick start ruby rails image and video upload ruby rails image transformations ruby rails video transformations ruby rails asset management carrierwave integration attachinary integration active storage integration net sdk net introduction net quick start net image and video upload net image transformations net video transformations net asset management go sdk go introduction go quick start go image and video upload go media transformations go asset management go sample projects go video tutorials go sdk reference dart sdk dart introduction dart quick start dart image and video upload dart media transformations dart sdk reference frontend sdks react sdk react introduction react starter kit react quick start react image and video upload react image transformations react video transformations react sample projects react video tutorials react sdk reference transformation builder reference vue js sdk vue js introduction vue js quick start vue js image and video upload vue js image transformations vue js video transformations vue js sample projects vue js video tutorials vue js sdk reference transformation builder reference angular sdk angular introduction angular quick start angular image and video upload angular image transformations angular video transformations angular sample projects angular video tutorials angular sdk reference transformation builder reference javascript sdk javascript introduction javascript quick start javascript image and video upload javascript image transformations javascript video transformations javascript sample projects javascript video tutorials javascript sdk reference transformation builder reference next js sdk next js introduction next js starter kit next js quick start next js image and video upload next js image transformations next js video transformations next js sample projects next js video tutorials jquery sdk jquery introduction jquery image and video upload jquery image transformations jquery video transformations react sdk legacy react introduction react image and video upload react image transformations react video transformations react migration guide vue js sdk legacy vue js introduction vue js image and video upload vue js image transformations vue js video transformations vue js migration guide angular sdk legacy angular introduction angular image and video upload angular image transformations angular video transformations angular migration guide javascript sdk legacy javascript introduction javascript image and video upload javascript image transformations javascript video transformations javascript migration guide mobile sdks ios sdk ios introduction ios quick start ios image and video upload ios image transformations ios video transformations ios video player ios sample projects android sdk android introduction android quick start android image and video upload android image transformations android video transformations android video player android sample projects flutter sdk flutter introduction flutter quick start flutter image and video upload flutter media transformations flutter video player flutter video tutorials dart based cloudinary_url_gen package reference flutter sdk reference react native sdk react native introduction react native image and video upload react native image transformations react native video transformations react native video player kotlin sdk kotlin introduction kotlin media transformations community developed libraries astro laravel nuxtjs svelte gatsby netlify drupal release notes latest october 31 2026 august 31 2026 july 9 2026 previous releases may 28 2026 april 7 2026 february 28 2026 january 30 2026 2025 december 18 2025 october 31 2025 september 3 2025 july 09 2025 may 27 2025 2024 november 29 2024 october 9 2024 august 12 2024 june 27 2024 may 31 2024 april 16 2024 february 28 2024 january 03 2024 2023 november 13 2023 october 26 2023 september 21 2023 august 15 2023 july 13 2023 june 19 2023 may 16 2023 apr 04 2023 feb 21 2023 2022 dec 27 2022 image video apis sdks frontend sdks javascript sdk legacy javascript migration guide javascript migration guide copy for llm download markdown get started get started with cloudinary paste one prompt into your ai coding assistant and it sets up cloudinary for you installs the sdk configures skills and mcp servers and validates your setup copy prompt learn more agent skills install cloudinary agent skills cloudinary agent skills give your ai coding assistant first class context for working with cloudinary run to install or update the skills view the skills repo on github learn about cloudinary skills last updated apr 23 2025 introduction cloudinary s latest javascript sdk is designed to provide a simpler and more enhanced developer experience than the legacy javascript sdk this guide explains how to migrate your javascript code from the cloudinary core library legacy javascript sdk to the js url gen library key improvements in the js url gen library a new action based syntax designed to make building delivery urls and transformations more logical and discoverable when compiled to the final delivery url each action including any action qualifiers represents a different component separated by a for example c_scale w_400 f_auto q_auto rather than c_scale f_auto q_auto w_400 newly added autocomplete to list options and parameters and ensure only those that are supported can be used together a smaller bundle size you only need to import what you want to use things to know before migrating to the js url gen library the action based syntax used in the js url gen library may cause urls to be formed differently from those generated by the cloudinary core legacy library for example url generated with the cloudinary core legacy library https res cloudinary com demo image upload c_scale f_auto q_auto w_400 sample jpg url generated with the js url gen library https res cloudinary com demo image upload c_scale w_400 f_auto q_auto sample jpg even if the delivered media file looks and behaves identically changes to urls can have the following implications you may see a one time increase in transformation counts you may see a one time increase in storage usage for the new derived assets you may see a one time increase in add on usage when add on transformation parameters are used in the url cdn caches may need to be warmed with the new derived assets if strict transformations are enabled for your product environment in the security page of your console settings you need to allow the new transformations if you require transformations to be generated eagerly for example long videos you need to regenerate these via the latest sdk using the eager parameter of the explicit method to reduce the impact of all of the above we recommend using the createcloudinarylegacyurl method for your existing transformation urls especially if your existing app delivers a large number of transformed assets this maintains the formations of the transformations so the urls remain the same the createcloudinarylegacyurl function supports only transformation and configuration parameters it does not help to migrate html tags responsive placeholder transparent video or jquery functionality for all new transformation urls that you add to your application we recommend using the new action based sdk syntax offered by the latest version of the sdk for full documentation on using the js url gen library see the javascript sdk guide on this page introduction key considerations installation migrating cloudinary instance configuration migrating asset instance configuration migrating delivery urls migrating responsive functionality key considerations the cloudinary core library is very different from the cloudinary url gen library in its architecture and usage so migration paths depend on your current usage of the cloudinary core library you can use both the cloudinary core and cloudinary url gen packages in your application concurrently so although not recommended for the long term due to the increased bundle size you could start by integrating cloudinary url gen into your application and slowly migrate your functionality piece by piece until you are able to remove all cloudinary core functionality the instructions in this guide assume you are using javascript within a modular environment installation install the cloudinary url gen package using migrating cloudinary instance configuration using the legacy javascript sdk you may be configuring your cloud name and other configuration parameters in a cloudinary instance there is an equivalent cloudinary object in cloudinary url gen for example this cloudinary core code is similar to this cloudinary url gen code migrating asset instance configuration you can also set configuration parameters in the imagetag or url methods in the javascript sdk v1 this is similar to setting the parameters on a per asset instance in cloudinary url gen for example setting cloud_name in a url is similar to setting cloudname in a cloudinaryimage note if you use the cloudinary instance configuration you don t need to add configuration parameters to your asset instances migrating delivery urls using cloudinary core configuration and transformation parameters are specified in json syntax for example using cloudinary url gen you can use the createcloudinarylegacyurl function to pass in the same json and return the same url which you can then use as the source for your image tag configuration parameters such as cloud_name should be included in the function call as this is simply a helper function to build the delivery url for objects such as layer textlayer fetchlayer and transformation you need to import the relevant classes from cloudinary url gen backwards caution if you have a large number of assets we recommend you migrate using the createcloudinarylegacyurl method if you replace your existing transformations using the new sdk transformation syntax you may find your urls are generated in a slightly different way see things to know before migrating to the js url gen library for the implications of these changes to transformation urls for all new cloudinary delivery urls you should start to use the cloudinary url gen syntax which for the above example is the resulting url is migrating responsive functionality if you are using the responsive functionality offered in cloudinary core you will have to replace this code entirely when using the latest javascript sdk for this you need to install the cloudinary html package from frontend frameworks then use the respons...
|