Closed mint-pz closed 8 months ago
Update: I put a image option options={{ width: 400, height: 330 }}
to the FrameImage
and the size is down
@mint-pz you can return the image directly using the src prop e.g. <FrameImage src=… >
if that suits your use case. See the explanation here https://github.com/framesjs/frames.js/issues/103#issuecomment-1952897776
https://warpcast.com/~/developers/frames shows me the error
Image has to be less than 256kb
while the frame spec saidThe size of the image must be < 10 MB.
(https://docs.farcaster.xyz/reference/frames/spec#images)My frame has a div tag with a background image (~140kb) but after the compile process, the size is up to ~700kb
Any work around ways to fix it? Thanks in advance!