Skip to content

Issue: I don't see the generated images? #34

@justindasilva

Description

@justindasilva

My nuxt.config:

modules: [
    ['@pivale/nuxt-image-loader-module', {
      imagesBaseDir: 'assets/img',
      imageStyles: {
        thumbnail: { actions: ['gravity|Center', 'resize|320|180^', 'extent|320|180|+0|+90'] },
      },
    }],
  ],

I have images located in static/img which weren't loading.
I then tried moving my images to assets/img and I still can't seem to see them?

When I run yarn run dev, should a image-styles directory be created automatically? I don't see it.

Is there some way for me to force run the creation of images? I'm still wondering if I have graphicsmagick installed correctly. I ran brew install graphicsmagick.

Any clues what I might be doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions