Content pfp
Content
@
0 reply
0 recast
0 reaction

Gambino pfp
Gambino
@greatgambino.eth
Would somebody be able to look at this repo and explain how we would change the aspect ratio to 1:1? It defaults to 1.91:1 and I can’t figure out how to change it. Im working on a different frame but figured I’d use this example since Zeni already made it public. https://github.com/leeknowlton/moxie-demo-frame
6 replies
1 recast
12 reactions

Samuel pfp
Samuel
@samuellhuber.eth
From what I can tell image is set here https://github.com/leeknowlton/moxie-demo-frame/blob/a2ef6ed00560ac40f04d2706df7f9a8a107c3509/app/frames/route.tsx#L300 So you‘d need to specify imageAspect Ratio where this is consumed as frame
1 reply
0 recast
1 reaction

Gambino pfp
Gambino
@greatgambino.eth
I tried that but it didn't work unless I'm just doing it wrong. I think it has something to do with having a dynamic image. The meta data is defaulting to 1.91:1. With a normal .png image I was able to easily change the aspect ratio but can't figure it out with a dynamic image lol. So far I've figured out if I add "fc:frame:image:aspect_ratio": "1:1", to other: on the page.tsx it makes the landing page 1:1. But I can't figure out how to get /frames 1:1 I'm also pretty new to all of this.
1 reply
0 recast
0 reaction