Skip to content

Can we pass complete URL to the image resizer? #550

Closed Answered by simonkrol
sh-soltanpour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sh-soltanpour,

The functionality you're seeing is expected, it looks like 4 years ago with the release of v4 and alongside the Python->Typescript migration is when the ability to include a link to the image was removed. If you were looking not to change the legacy code that generates the URL, and the images being accessed are all present in the same S3 Bucket (which is the first value in the SOURCE_BUCKETS template parameter) you could try the following workaround:

Follow https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/use-the-rewrite-feature.html to use the rewrite feature supported by SIH (Will need to change the Environment variables of the backend lambda func…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@sh-soltanpour
Comment options

Comment options

You must be logged in to vote
3 replies
@sh-soltanpour
Comment options

@simonkrol
Comment options

Answer selected by sh-soltanpour
@sh-soltanpour
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants