Skip to content

Image is not resizing. #5

@dhavalk-simform

Description

@dhavalk-simform

I've cloned your repo to my local system.

then update a details SSL_KEY, SLS_SECRET, STAGE, REGION, BUCKET in secrets.env file.

I want to use node version 10 so I change it to bucket/serverless.yml and functions/serverless.yml and Dockerfile.

At last, I run command docker-compose up --build

I kept en eye on the output of a docker-compose command and everything is set up nicely.

it has created 2 S3 bucket image-resize-on-the-fly-serverlessdeploymentbuck-15sulaxg0lhop, image-resize-on-the-fly-serverlessdeploymentbuck-2lofzjreudgm and one bucket that I updated in secrets.env file to store images. two cloudformation stacks image-resize-on-the-fly-bucket-dev and image-resize-on-the-fly-functions-dev and one lambda function.

then I upload an image to S3 bucket. : S3_BUCKET_URL/image.jpg and I can access this URL.

Then I tried S3_BUCKET_URL/500x500/image.jpg but it's given me an error and I've attached error screen. it's not creating resize image.

Any help would be grateful.

error (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions