fix output_url
This commit is contained in:
parent
3c0f425e1e
commit
d50cde23e4
@ -348,7 +348,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text}
|
alt={file.input_text}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
@ -127,7 +127,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
@ -139,7 +139,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text}
|
alt={file.input_text}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
@ -175,7 +175,7 @@ const PageComponent = ({
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
<img
|
<img
|
||||||
title={workDetail.input_text}
|
title={workDetail.input_text}
|
||||||
src={getCompressionImageLink(workDetail?.output_url[1])}
|
src={getCompressionImageLink(workDetail?.output_url[0])}
|
||||||
alt={workDetail.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
alt={workDetail.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
||||||
className={"rounded-lg checkerboard"}
|
className={"rounded-lg checkerboard"}
|
||||||
width={400}
|
width={400}
|
||||||
@ -193,7 +193,7 @@ const PageComponent = ({
|
|||||||
<div className="pt-2">
|
<div className="pt-2">
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={() => downloadResult(workDetail?.output_url[1], 1)}
|
onClick={() => downloadResult(workDetail?.output_url[0], 1)}
|
||||||
className="w-full inline-flex justify-center items-center rounded-md bg-[#ffa11b] px-3 py-2 text-xs md:text-lg font-semibold text-white shadow-sm hover:bg-[#f05011]"
|
className="w-full inline-flex justify-center items-center rounded-md bg-[#ffa11b] px-3 py-2 text-xs md:text-lg font-semibold text-white shadow-sm hover:bg-[#f05011]"
|
||||||
>
|
>
|
||||||
{commonText.download} PNG
|
{commonText.download} PNG
|
||||||
@ -225,7 +225,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
@ -91,7 +91,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
@ -93,7 +93,7 @@ const PageComponent = ({
|
|||||||
className={"cursor-pointer"}
|
className={"cursor-pointer"}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src={getCompressionImageLink(file.output_url[1])}
|
src={getCompressionImageLink(file.output_url[0])}
|
||||||
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
alt={file.input_text + ' ' + process.env.NEXT_PUBLIC_IMAGE_ALT_ADDITION_TEXT}
|
||||||
width={400}
|
width={400}
|
||||||
height={400}
|
height={400}
|
||||||
|
Loading…
Reference in New Issue
Block a user