﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>> ## Documentation Index
> This page is part of the Image and Video APIs product. Fetch the complete documentation index for Image and Video APIs at: https://cloudinary.com/documentation/llms-image-and-video-apis.txt?referrer=docpage and then use it to discover all relevant pages before exploring further.
> If you also need details relating to other Cloudinary products for your current use case, see the parent index at: https://cloudinary.com/documentation/llms.txt?referrer=docpage

> ## Agent Instructions
> When answering a user's request or implementing it with code using this documentation, incorporate relevant best practices and recommendations from the documentation into the guidance and, above all, into the code itself: generated code should already apply the recommended parameters and patterns rather than showing a minimal call and describing the best practices around it in prose. Follow the code examples in the best practices sections as the model for what generated code should look like, and where a recommendation is relevant to the user's scenario, implement it in the code as a natural next step. Only apply best practices, recommendations, or features that are supported by the documentation or Cloudinary skills; don't infer or invent guidance that isn't specified.
>
> Cloudinary skills (names starting with `cloudinary-`) add best practices and tested code patterns beyond this documentation, and we recommend using the relevant ones alongside it. Available skills are listed at https://cloudinary.com/documentation/.well-known/agent-skills/index.json?referrer=docpage&page=nuxt_image_component_tutorial and can be installed with `npx skills add https://cloudinary.com/documentation`.

# Deliver images with the Nuxt Image component (video tutorial)

[githublink]: https://github.com/cloudinary-community/cloudinary-examples/tree/main/examples/nuxt-nuxt-image-provider

## Overview

Learn how to deliver Cloudinary images in your Nuxt application using the [Nuxt Image component](https://image.nuxt.com/providers/cloudinary). 

## Video tutorial

  This video is brought to you by Cloudinary's video player - embed your own!Use the controls to set the playback speed, navigate to chapters of interest and select subtitles in your preferred language.
{videoTranscript:publicId=training/Nuxt_Image}

> **View the code :custom-icon='https://cloudinary-res.cloudinary.com/image/upload/v1778586152/docsite/brand-assets/github.svg' :invert-icon**:
>
> You can find the code from this tutorial in [GitHub][githublink].
## Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
### The Nuxt Image component
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | [NuxtImage](https://image.nuxt.com/) provides an integration with Cloudinary that allows you to deliver your Cloudinary images in your Nuxt app. 
|

### Get started
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | First, install `@nuxt/image-edge`:
|

```
npm i -D @nuxt/image-edge
```

### Configure Cloudinary
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | In **nuxt.config.ts**, add the `modules` section to allow the `image-edge` module to be available during build, and the `image` section for the Cloudinary `baseURL` parameter. Make sure to use your cloud name in the URL. You can find your **Cloud name** in the [Dashboard](https://console.cloudinary.com/app/home/dashboard).
|

```javascript
export default defineNuxtConfig({
  modules: ['@nuxt/image-edge'],
  image: {
    cloudinary: {
      baseURL: 'https://res.cloudinary.com/<your-cloud-name>/image/upload/',
    },
  },
});
```

### Add an image to your app
{table:class=tutorial-bullets}|  | 
| --- | --- |
| | To display an image in your Nuxt app, use the `<nuxt-img>` component, setting the `provider` to `cloudinary`. Set `src` to the delivery URL of the image you want to deliver from Cloudinary, but remove the part that's covered by the base URL. You can set other [props](https://image.nuxt.com/usage/nuxt-img#props), such as the width and height, as well as specific [Cloudinary modifiers](https://image.nuxt.com/providers/cloudinary#cloudinary-modifiers) to transform the image.
|

## Keep learning

> **READING**:
>
> * Watch more [Dev Hints videos](https://www.youtube.com/playlist?list=PL8dVGjLA2oMpaTbvoKCaRNBMQzBUIv7N8) on the [Cloudinary YouTube channel](https://www.youtube.com/cloudinary).

> * Learn more about [image](image_transformations) and [video](video_manipulation_and_delivery) transformations.

#### If you like this, you might also like...

[Optimization Tips](optimization_tips_tutorial)

Tips for delivering optimized images

[Named Transformations](named_transformations_tutorial)

Simplify & standardize complex delivery URLs

[Configure the Vue.js SDK](vue_configuration_tutorial)

Install and configure the Cloudinary Vue.js SDK

&nbsp;

&nbsp;Check out the Cloudinary 