Cloudinary
Cloudinary
  • 371
  • 1 206 522
Upload Webcam Photos in React - Dev Hints
Upload photos from a webcam in a React app with Cloudinary.
We'll walk through using React Webcam to be able to capture photos from a desktop or mobile device webcam in a React app, how to upload those images to Cloudinary, and how to transform them with filters and effects for a photobooth-like app.
📝 Cloudinary Docs - Uploading Images
cld.media/devhintsreactwebcamuploaddocs
💾 React Webcam Example
github.com/cloudinary-community/cloudinary-examples/tree/main/examples/react-webcam
Instructor: Dillion Megida (@deeecode)
--
Cloudinary helps developers build performant experiences for the web with powerful optimization and transformation APIs.
🚀 Get started with a free account!
cld.media/devhintsreactwebcam
#cloudinary #devhints #react #images #webcam #filters #imageediting #webdevelopment
zhlédnutí: 27

Video

Finding Your Cloudinary API Key, Cloud Name, and Credentials - Dev Hints
zhlédnutí 68Před dnem
Find your Cloud Name, API Key, and API Secret in Cloudinary. We'll walk through how to use your Cloud Name, API Key and API Secret or your Environment Variable to build URLs and make secure requests using your Cloudinary account. Learn how to find your credentials as well as manage your API key and secret for configuring your account. Instructor: Colby Fayock (@colbyfayock) 📝 Cloudinary - Devel...
Overlay Text on Images with JavaScript with Cloudinary - Dev Hints
zhlédnutí 57Před 14 dny
Overlay dynamic text on images using JavaScript with Cloudinary. We'll walk through how we can easily add text overlays onto an existing image using the Cloudinary URL Gen SDK including adding a headline to a homepage banner and dynamically adding a sale tag based on product details to a product photo. We'll even see how we can stylize the text with custom fonts, sizes, and colors and position ...
Getting Started in Node.js with Cloudinary - Dev Hints
zhlédnutí 310Před 21 dnem
Get started uploading and transforming images in Node.js with Cloudinary. We'll walk through how to get started using Cloudinary with the Node.js SDK including installing and configuring your Cloudinary environment, generating URLs with automatic optimization and transformations, and uploading images to your Cloudinary account. 📝 Cloudinary Node.js SDK cld.media/devhintsnodedocs 💾 Example: Uplo...
Optimizing Images in Laravel with Cloudinary - Dev Hints
zhlédnutí 492Před 28 dny
Optimize images in Laravel to improve performance for your websites and apps with Cloudinary. We'll walk through how we can easily optimize using the Cloudinary Laravel SDK by compressing images without sacrificing visual quality, automatically delivering modern formats like WebP and AVIF, and resizing the images to greatly reduce the size of images being delivered from your Laravel app. We'll ...
Play Video on Hover in React with AI Preview Clips - Dev Hints
zhlédnutí 374Před měsícem
Use AI to generate a short video preview clip in React that plays when hovering over an image using Cloudinary. Learn how to automatically play a video when hovering over an image in React. We'll use Cloudinary to automatically generate video preview clips that use AI to determine the most interesting part of the video. 📝 AI-based video preview with Cloudinary cld.media/devhintsreactvideoprevie...
Generate QR Codes in Node.js with Cloudinary - Dev Hints
zhlédnutí 89Před měsícem
Generate QR codes in Node.js with Cloudinary. We'll walk through how to use the Cloudinary Node.js SDK to easily make QR codes that allow people to scan and navigate to links. We'll even see how we can easily customize the colors and render the QR code images in SVG. 📝 Cloudinary Docs - Auto Upload cld.media/devhintsnodeqrautoupload 💾 Example - Generating QR Codes with Auto Upload github.com/cl...
Overwrite & Replace Files in Cloudinary with Node.js - Dev Hints
zhlédnutí 90Před měsícem
Overwrite or replace images, videos, or other files in Cloudinary using the Node.js SDK. Learn how to update a file and how to ensure it immediately gets refreshed on your website or mobile app by invalidating cache. 📝 Invalidating Cached Assets on Cloudinary cld.media/devhintsnodeoverwritedocs Instructor: James Perkins (@james-perkins) Cloudinary helps developers build performant experiences f...
Reduce Motion of Images in React - Dev Hints
zhlédnutí 83Před měsícem
Reduce the motion of images when preferred using the HTML Picture tag. We'll walk through how to use the Picture tag to show dynamically show an animated or still image based on user preference using media queries. We'll also see how we can dynamically generate a still image from a GIF without having to maintain multiple images using Cloudinary. 💾 Example - Reduced Motion in React github.com/cl...
Extract Colors from an Image in Node.js with Cloudinary - Dev Hints
zhlédnutí 138Před 2 měsíci
Programmatically extract colors from an image in Node.js with Cloudinary. Learn how to easily find out what colors make up an image Cloudinary's color analysis API. Instructor: James Perkins (@james-perkins) Cloudinary helps developers build performant experiences for the web with powerful optimization and transformation APIs. 🚀 Get started with a free account! cld.media/devhintsnodecolors #clo...
Uploading Videos in Python with Cloudinary - Dev Hints
zhlédnutí 118Před 2 měsíci
Easily upload video files in Python with the Cloudinary Python SDK. We'll walk through how to upload a local video file including smaller files with the upload method and files over 100mb with the upload_large method. 📝 Cloudinary Docs - Upload Videos in Python cld.media/devhintspythonuploadvideodocs 💾 Example - Uploading Videos in Python github.com/cloudinary-devs/python-cloudinary-video-uploa...
Drag and Drop File Uploads in React - Dev Hints
zhlédnutí 1,6KPřed 2 měsíci
Learn how to add drag and drop to upload files in React with React Dropzone. We'll walk through how to set up React Dropzone to easily add drag and drop to a React application. We'll then see how we can upload those files to Cloudinary for storage and delivery. 📝 Cloudinary Upload API cld.media/devhintsreactdragdropdocs 📺 Uploading Images & Videos in React with the Cloudinary Upload Widget czca...
Optimize Images in Astro with Cloudinary - Dev Hints
zhlédnutí 243Před 2 měsíci
Optimize images and resize to smaller sizes in Astro with Cloudinary. We'll walk through how to set up the Astro Image component to load Cloudinary images and how we can use the Cloudinary URL Gen SDK to further optimize and transform those images using Cloudinary. 📝 Cloudinary JavaScript SDK cld.media/devhintsastroimagedocs 💾 Example - Astro Image with Cloudinary github.com/cloudinary-communit...
Uploading Images & Videos in Laravel with Cloudinary - Dev Hints
zhlédnutí 641Před 3 měsíci
Uploading Images & Videos in Laravel with Cloudinary - Dev Hints
Using AI to Add Tags and Metadata to Cloudinary Images - Developer Tutorial
zhlédnutí 145Před 3 měsíci
Using AI to Add Tags and Metadata to Cloudinary Images - Developer Tutorial
Optimize Images in Remix with Cloudinary - Dev Hints
zhlédnutí 194Před 3 měsíci
Optimize Images in Remix with Cloudinary - Dev Hints
Image and Video-Rich Digital Signage with Cloudinary and Intuiface - DevJams Episode #29
zhlédnutí 53Před 3 měsíci
Image and Video-Rich Digital Signage with Cloudinary and Intuiface - DevJams Episode #29
Delivering Video in an Android App with Cloudinary - Developer Tutorial
zhlédnutí 159Před 3 měsíci
Delivering Video in an Android App with Cloudinary - Developer Tutorial
Add Images to Sanity with Cloudinary - Dev Hints
zhlédnutí 170Před 3 měsíci
Add Images to Sanity with Cloudinary - Dev Hints
Syncing Local Folders to Cloudinary for Automated Cloud Storage - DevJams Episode #28
zhlédnutí 131Před 3 měsíci
Syncing Local Folders to Cloudinary for Automated Cloud Storage - DevJams Episode #28
Moderate Images with AI using Cloudinary - Dev Hints
zhlédnutí 151Před 3 měsíci
Moderate Images with AI using Cloudinary - Dev Hints
Crop Images with AI in JavaScript using Cloudinary - Dev Hints
zhlédnutí 189Před 3 měsíci
Crop Images with AI in JavaScript using Cloudinary - Dev Hints
Embedding a Video Player in SvelteKit with Cloudinary - Dev Hints
zhlédnutí 187Před 4 měsíci
Embedding a Video Player in SvelteKit with Cloudinary - Dev Hints
Discover the Power of Cloudinary Programmable Media
zhlédnutí 691Před 4 měsíci
Discover the Power of Cloudinary Programmable Media
Uploading Images in Python with the Cloudinary Python SDK - Dev Hints
zhlédnutí 722Před 4 měsíci
Uploading Images in Python with the Cloudinary Python SDK - Dev Hints
Personalized Email Images with Cloudinary Node.js SDK - Dev Hints
zhlédnutí 126Před 4 měsíci
Personalized Email Images with Cloudinary Node.js SDK - Dev Hints
Use AI to Generate Images Captions in Next.js with Cloudinary - Dev Hints
zhlédnutí 290Před 4 měsíci
Use AI to Generate Images Captions in Next.js with Cloudinary - Dev Hints
Install & Configure Cloudinary in Python - Dev Hints
zhlédnutí 366Před 5 měsíci
Install & Configure Cloudinary in Python - Dev Hints
Update a Cloudinary Image on Upload in Node.js - Dev Hints
zhlédnutí 355Před 5 měsíci
Update a Cloudinary Image on Upload in Node.js - Dev Hints
Adding Images to Tableau Data Visualizations with Cloudinary - Cloudinary DevJams Episode #27
zhlédnutí 106Před 5 měsíci
Adding Images to Tableau Data Visualizations with Cloudinary - Cloudinary DevJams Episode #27

Komentáře

  • @BestFriend-ix6nl
    @BestFriend-ix6nl Před dnem

    Great

  • @sebastianellis-gray6600

    SCAMMERS your api has soft-disabled video face gravity cropping queitly without telling anyone. It now only works for images labeled under some bs called "content aware image cropping" like who on earth would want to crop an image in that way more than they would need to actively crop a moving video.

  • @arditqerimi745
    @arditqerimi745 Před 7 dny

    I placed all secret variables in .env, also in server action I am able to console all of them, but again it says API Key undefined

  • @redemption330
    @redemption330 Před 11 dny

    This is the worst thing I have ever used

    • @colbyfayock
      @colbyfayock Před 8 dny

      can you be a little more specific about what challenges you're facing? happy to take feedback to the team, or unless you mean the video itself, for future videos

  • @kennykenny6176
    @kennykenny6176 Před 13 dny

    dont u need an api to fetch the image

    • @colbyfayock
      @colbyfayock Před 8 dny

      not totally sure if im following, but the API is the delivery URL, so you would add the Cloudinary URL to an image tag, or in the case of the React SDK you would use the AdvancedImage with the URL Gen SDK, with or without any transformations just like any other image URL, and it will deliver the image

  • @mindpower1332
    @mindpower1332 Před 17 dny

    amazing, i solve my 3 months pending error using this video

  • @ewzxyhh6180
    @ewzxyhh6180 Před 19 dny

    How to create a plataform using this

  • @hichamamroussi9087
    @hichamamroussi9087 Před 22 dny

    Why did you convert the image to a buffer and you didn't send it directly as a file ?

    • @colbyfayock
      @colbyfayock Před 13 dny

      the SDK only accepts a string or an instance of Buffer or Uint8Array

  • @khevlar_studios
    @khevlar_studios Před 22 dny

    Great video !! I would love to see videos on how to upload images from next.js app to specific folder in cloudinary. Thanks.

    • @colbyfayock
      @colbyfayock Před 13 dny

      thanks! we have lots of great videos on Next.js, all which you can find here: cld.media/devhints for uploading specifically, you can either use our upload widget: czcams.com/video/ULp6-UjQA3o/video.html or here's how to do it with Server Actions: czcams.com/video/5L5YoFm1obk/video.html they dont specifically mention how to upload to a specific folder, but fortunately it's as easy as setting the `folder` option when in "Fixed Folder" mode and `asset_folder` when in "Dynamic Folders" mode (most likely if it's a new account) !

    • @khevlar_studios
      @khevlar_studios Před 9 dny

      @@colbyfayock Thank you sir.

  • @Quick_Code
    @Quick_Code Před 23 dny

    But If we are also using the images from other drives then what we need to do?

    • @colbyfayock
      @colbyfayock Před 13 dny

      what kind of locations are you referring to by "other drives"? are you looking to use Next Image for more external services than Cloudinary?

  • @koladechris
    @koladechris Před 24 dny

    Dillion what did you do to your voice

  • @aniruddhaganesh9388
    @aniruddhaganesh9388 Před 26 dny

    This is a great video for someone familiar with Cloudinary as it focuses on the meat of the work and makes it relatively short. For someone new, a bit more detail would be great!

    • @colbyfayock
      @colbyfayock Před 26 dny

      thanks for the feedback! in this particular example, is there something particular you would have liked to see?

    • @aniruddhaganesh9388
      @aniruddhaganesh9388 Před 25 dny

      Hi @@colbyfayock! In this video, I didn't get what 'examples/galaxy_qtrsjt' was. I guessed that's the path to the galaxy image in our cloudinary media library and going back to the beginning of the video helped confirm that. Then after applying each transformation, you share the result in a browser window. Not sure where the url is coming from. Again, I would guess that you ran the script and logged the result of cloudinary.url(...). But that isn't explicitly stated. Does cloudinary.url return an object or string, etc. is not clear.

    • @colbyfayock
      @colbyfayock Před 25 dny

      @@aniruddhaganesh9388 thanks great feedback! just to confirm, yeah `examples/galaxy_qtrsjt` is the "public ID" which is the identifier used to generate a URL. the cloudinary.url method returns a fully constructed URL as a string, aased on that public ID and any transformations applied

  • @Mr-sq9ph
    @Mr-sq9ph Před 28 dny

    How about the configurations?

    • @colbyfayock
      @colbyfayock Před 26 dny

      here's how you can install and configure the SDK! czcams.com/video/0ZZSNJm7VpI/video.html

  • @anvimatrader
    @anvimatrader Před měsícem

    Me ajudou muito

  • @lisadziuba6988
    @lisadziuba6988 Před měsícem

    Super interesting 🙌 Thanks for sharing!

  • @laliice7154
    @laliice7154 Před měsícem

    Thanks a lot

  • @derusmares9508
    @derusmares9508 Před měsícem

    How would you create the play pause functionality + const without running into the "cant render client components into server components"?

    • @colbyfayock
      @colbyfayock Před 26 dny

      hey im not totally sure what you mean by the play pause functionallity + const, but, in order to use the player in a server component, you can either apply the "use client" directive to the top of the page/component or create a light wrapper component that includes that directive and passes all the props through, similar to this example: next.cloudinary.dev/nextjs-14

  • @muhmmadsameer6127
    @muhmmadsameer6127 Před měsícem

    I made my NexShare a social media post sharing platform web app by using Cloudinary this is perfect service.

  • @northnas
    @northnas Před měsícem

    great effort what about uploading multiple images

    • @colbyfayock
      @colbyfayock Před 26 dny

      hey we dont have a tutorial specifically about this but the same type of functionality shoudl apply that you've seen here. there's not an endpoint to bulk upload, so you would loop through the acceptedFiles from React Dropzone and upload them all this video is in Node, but you can see how you can easily do that, including how you can work with concurrency to make it faster: czcams.com/video/_bTX2L0jPzA/video.html

  • @adrianzawadzki1900
    @adrianzawadzki1900 Před měsícem

    I use "astro": "^4.6.1", and when putting [...media].js inside of pages/api/cloudinary directory, I am getting error - "getStaticPaths() function is required for dynamic routes."

    • @colbyfayock
      @colbyfayock Před 26 dny

      this example is in Next.js, but if you're using astro, it depends on how you want to render the page. if you're using SSG, you need to use getStaticPaths, if you want to use SSR, you cna see an example here for how to make that work: docs.astro.build/en/guides/routing/#server-ssr-mode

  • @biruktad3327
    @biruktad3327 Před měsícem

    Clear, concise and clean presentation. Thx.

    • @colbyfayock
      @colbyfayock Před měsícem

      no problem, glad you found it helpful!

  • @Maskedlapis64
    @Maskedlapis64 Před 2 měsíci

    Does this work the videos too? I want to upload videos and images

    • @daytatech-youtube
      @daytatech-youtube Před měsícem

      If you are using Vercel, there are some severe limitations to large file uploads, namely getting the the callback functions setup in a backend api. Also, server uploads are limited to 4.5mb so you have to opt in to using a client component for large file uploads. Vercel has some documentation on how to do this but its tricky to setup. Good luck

    • @colbyfayock
      @colbyfayock Před měsícem

      daytatech had some good information there about the limitations. it may make sense, as they say, to perform the upload clientside, where then, the idea route would be to create an endpoint that solely signs your upload parameters, then upload directly to Cloudinary from the client, to avoid having the function as a middleman. i dont have good resources to pass off other than the docs: cloudinary.com/documentation/authentication_signatures i can put together an example if this is something you would find helpful

    • @colbyfayock
      @colbyfayock Před měsícem

      @@daytatech-youtube great points!

  • @sincethatmoment
    @sincethatmoment Před 2 měsíci

    I love Colby

  • @edsonsanchez5562
    @edsonsanchez5562 Před 2 měsíci

    how to delete a image?

    • @colbyfayock
      @colbyfayock Před měsícem

      if you don't have access to an environment where you can use your API Key / Secret to perform a secure request, you can pass the return_delete_token from the upload to give you that ability. if you go here and search for that parameter, you can find more info: cloudinary.com/documentation/image_upload_api_reference#upload_optional_parameters

  • @whezboo
    @whezboo Před 2 měsíci

    can we get the url for the uploaded image and store in a different database?

    • @colbyfayock
      @colbyfayock Před měsícem

      absolutely! the upload will return an object containing the resource information, including a public ID (cloudinary ID) and URL, along with width, height, and other properties. you can grab those values and store it wherever you'd like immediately after the upload I recommend storing those values as well to help with being able to provide a width and height inside your application when visualizing it. some people and integrations store the entire resource object when possible.

  • @lentzintl
    @lentzintl Před 2 měsíci

    Now add a video tutorial for a remix gallery widget.

    • @colbyfayock
      @colbyfayock Před měsícem

      adding it to the list 👍in the meantime, here's a code example that may help: github.com/cloudinary-community/cloudinary-examples/tree/main/examples/remix-product-gallery

  • @eunarussia8833
    @eunarussia8833 Před 2 měsíci

    I'd like to know how do I upload multiple images with cloudinary (using Next.js)

    • @colbyfayock
      @colbyfayock Před měsícem

      if you're uploading in a node environment, here's a video that can help: czcams.com/video/_bTX2L0jPzA/video.html otherwise, let me know how you're uploading and i can give some advice

  • @kaushaljoshi7190
    @kaushaljoshi7190 Před 2 měsíci

    How can I setup cloudinary config in a separate file, and import it whenever I need to use cloudinary?

    • @colbyfayock
      @colbyfayock Před měsícem

      something like this should work: import { v2 as cloudinary } from 'cloudinary'; cloudinary.config({ cloud_name: process.env.NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME, api_key: process.env.NEXT_PUBLIC_CLOUDINARY_API_KEY, api_secret: process.env.CLOUDINARY_API_SECRET, }); export function getCloudinary() { return cloudinary; }

  • @afolabiabiodun7582
    @afolabiabiodun7582 Před 2 měsíci

    this is superb

  • @afolabiabiodun7582
    @afolabiabiodun7582 Před 2 měsíci

    wow.. this is so cool

  • @tamerahmed9860
    @tamerahmed9860 Před 2 měsíci

    Great efforts! Thank you

  • @uszeyboi
    @uszeyboi Před 2 měsíci

    how do i bulk download a folder instead of single image?

    • @colbyfayock
      @colbyfayock Před měsícem

      here are a few ways you can do that: support.cloudinary.com/hc/en-us/articles/203068641-Can-I-bulk-download-all-of-my-Cloudinary-resources let me know if you had something else in mind!

  • @miscetc-tm2yt
    @miscetc-tm2yt Před 2 měsíci

    Did you say avif has a smaller color gamut of 256 colors?

    • @DysoniaMultiverseNews
      @DysoniaMultiverseNews Před 14 dny

      GIF has the 256 color gamut. AVIF has ALOT more especially when it supports HDR and WCG (Wide Color Gamut). More closer to Animated PNG quality.

  • @namakudamono
    @namakudamono Před 3 měsíci

    Thanks for the video. Regarding 10:19, is there any option to change the respective colour of these cloud icons? For colour-blind users, it may be preferable to set icon colours that are more easily distinguishable.

    • @Cloudinary
      @Cloudinary Před 3 měsíci

      Great question! We do have a series of transformations to help people with common color blind conditions, applying stripes or color adjustments to differentiate between colors that are similar for them. cloudinary.com/documentation/transformation_reference#e_assist_colorblind You could absolutely apply this in your WordPress plugin's settings or on specific pages/posts.

  • @Tailsxz
    @Tailsxz Před 3 měsíci

    this is crazy!!!

  • @lukassmida4885
    @lukassmida4885 Před 3 měsíci

    This DOES NOT WORK for utf-8 characters.

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      can you elaborate on whats not working? an example of code would help as well. feel free to jump into the discord and share with me: discord.gg/cloudinary also here's some example code that works: github.com/cloudinary-community/cloudinary-examples/tree/main/examples/nextjs-server-actions-upload

    • @lukassmida4885
      @lukassmida4885 Před 3 měsíci

      @@colbyfayock I used the same code as you in the video, just to be sure there are no differences to interfere with the upload pattern, it just remove the original encoding so utf-8 is converted to latin1 or so. The only option is to convert it back to utf-8 encoding in server action, but that is very ugly and unstable solution.

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      ​@@lukassmida4885 yeah i agree that doesn't sound great, though i appreciate your patience here, do you have an example file you can point me to or something? do you suspect this is a Cloudinary SDK issue or a Next.js Server Action issue? i hadn't noticed any issues with the files i tried to upload, though i only tried images so far, but with that, they seemed to upload to the account as expected. mostly trying to figure out if this is something that i need to address in my example, something wrong with the SDK, or if it's somewhat out of our control if it's a Next.js limitation

    • @lukassmida4885
      @lukassmida4885 Před 3 měsíci

      @@colbyfayock It's issue with server actions, have you tried to upload files that use characters from Czech or polish language set in their filename? You could try naming the file "český-přístav-žvaní.jpg" or something like that and see if the character encoding of the name is broken when sent and logged from server action receiving the FormData. It's surely not a problem with your Cloudinary :)

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      @@lukassmida4885ah okay, yeah i see the file name in the File instance, bummer. im not really sure of how to better set that up, but might be worth an Issue on the Next.js GitHub? could at least see if they'd give an official recommendation if not a consideration on how to improve it in the library itself

  • @user-mn3es5qp8g
    @user-mn3es5qp8g Před 3 měsíci

    How can I order images in the widget

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      when using tags the assets will be displayed alphabetically by public ID by default, but you can also specify an array of objects that correspond to the asset itself so like... mediaAssets: [ { publicId: "my-image" }, { publicId: "my-other-image" } cloudinary.com/documentation/product_gallery#displaying_assets

  • @jamesgrubb
    @jamesgrubb Před 3 měsíci

    Great episode with bonus insights to Electron. Thanks team Cloudinary

    • @Cloudinary
      @Cloudinary Před 3 měsíci

      We're so happy you liked the episode! 🙏

  • @HueCodes
    @HueCodes Před 3 měsíci

    i don't know what with this tool i use nextjs and use next-cloudinary it has the worst docs i don't how to get the image to show in my project. adn this video only make it more confusing to me

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      hey sorry to hear about your experience, there's nothing Server Actions specific with the Next Cloudinary library, however i hope to add helpers in the future if you have any specific feedback on points i can address in the Next Cloudinary documentation (or any documentation) i'd love to hear it here's an example using Server Actions as well as how you can show them: github.com/cloudinary-community/cloudinary-examples/tree/main/examples/nextjs-server-actions-upload you can also join the Cloudinary discord where you can ask your specific question and @ me there: discord.gg/cloudinary or DM me on Twitter

  • @ideacharlie
    @ideacharlie Před 3 měsíci

    Yes

  • @ideacharlie
    @ideacharlie Před 3 měsíci

    Wow. This is the portal to natural language editing truly

  • @rubenrcs
    @rubenrcs Před 3 měsíci

    that was awesome ! thanks

  • @User_xx123
    @User_xx123 Před 3 měsíci

    Why does it say image already automatically modified and does not work on the image

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      hey not totally sure what you mean, where do you see this message? do you have an example you're able to share? you may not be able to post a link here, but you could also join the Cloudinary discord to get more help: discord.gg/cloudinary

  • @Vir7uaLGameplays
    @Vir7uaLGameplays Před 3 měsíci

    Can you make a video with sharp?

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      thanks for the idea, did you have a specific use case in mind that wouldn't be handled with Cloudinary?

    • @Vir7uaLGameplays
      @Vir7uaLGameplays Před 3 měsíci

      @@colbyfayock Everything would be handled on a server side function. I already managed to do it if you want to have a look just tell me

  • @danipuntocom
    @danipuntocom Před 3 měsíci

    Hi Colby! Thanks for your awesome videos! I''m trying to combine server actions with react-dropzone (btw thank you for your explanation here! czcams.com/video/8uChP5ivQ1Q/video.html). Any idea on how can I remove files from the file array? I've managed to remove the previews, but the input file array stays intact. When I submit the form, the original file list is sent to the server action. Is there any way to send a modified file list through the server action? Thank you and keep it up!!

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      hm, good question, do you happen to have example code anywhere with what you've put together so far? my understanding is you can't really mutate data between the form and the action, aside from passing in additional arguments: nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#passing-additional-arguments you may be able to mutate the inputs managed on the page when you detect they've changed, but that could be a bit hacky maybe a good question would be, what kinds of files are you trying to remove? i wonder if it would be more appropriate to use React Dropzone restrictions? whether using existing options or their custom validation? react-dropzone.js.org/#section-custom-validation

    • @danipuntocom
      @danipuntocom Před 3 měsíci

      @@colbyfayockThank you Colby! I replied to you but somehow my comments get deleted! Maybe I'm not allowed to share github links?

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      @@danipuntocom yeah it likely got filtered by CZcams from sharing a link :( do you have Twitter to DM me or Discord where you can join the Cloudinary server and share with me there? discord.gg/cloudinary

    • @danipuntocom
      @danipuntocom Před 3 měsíci

      @@colbyfayockThank you for the invite! I've just posted the question on Discord.

  • @lev1ato
    @lev1ato Před 3 měsíci

    I am not able to build production nextjs app with: import { v2 as cloudinary } from 'next-cloudinary'; it says: Module not found: Can't resolve 'http' and so on for all the modules Please help me

    • @lev1ato
      @lev1ato Před 3 měsíci

      export const runtime = 'edge'; Breaks it, but it is needed for deploying to production.... Please help me figure it out.

    • @colbyfayock
      @colbyfayock Před 3 měsíci

      @@lev1atohey unfortunately the Node SDK isn't supported on Edge runtime :( you would either need to use the standard runtime for the endpoints that use the Node SDK or manually write the code to hit the REST API and sign the requests. i have an example of how i've done that before here: github.com/colbyfayock/tweezer/blob/main/src/pages/api/upload.js

    • @mantasbeniusis9777
      @mantasbeniusis9777 Před 3 měsíci

      You should import it from a different package. Note that it is from 'cloudinary' and not 'next-cloudinary'

    • @lev1ato
      @lev1ato Před 3 měsíci

      @@mantasbeniusis9777 yeah I made a typo above, but the example Colby gave me actually helped me solve it. I just had to make couple of changes to make it work with the Next.js App router.