-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[issue]the asset preview img size looks weird. #1939
Comments
➤ Ethan Wu commented: Scott Yan can you share some examples with me. also share the product ids. thanks! |
➤ Kenny Hung commented: Ethan Wu |
➤ Kenny Hung commented: In prod page. |
➤ Ethan Wu commented: ok what i can do is can change the settings in asset / product pages to maintain the aspect ratio. |
➤ Ethan Wu commented: this is what maintain aspect ratio of image looks like. Scott Yan let me know if this looks better Kenny Hung let me know what you think |
➤ Scott Yan commented: it's look better than now ( v 0.63.1 ) |
➤ Ethan Wu commented: ok so i'll set it so that the images on asset and product page will maintain aspect ratio. |
➤ Kenny Hung commented: wait~ |
➤ Ethan Wu commented: Kenny Hung so bubble supports the following runtime rendering: rescale & stretch. Maintaining the aspect ratio we have the following. (Left) Rescale (Middle) Stretch (Right) Original Image |
➤ Kenny Hung commented: The rescale looks better. |
➤ Ethan Wu commented: Kenny Hung the issue is the edges are cropped. let me see what I can do |
➤ Ethan Wu commented: Kenny Hung rescale horizontal images don't look good. plus the edges are not rounded like in the original design. |
➤ Ethan Wu commented: I did some reading and it looks like standard phone aspect rations are either 1:1 to 4:5. I've set the aspect ration to 4:5 and adjusted the runtime rendering to stretch (since its better to fill the space rather than have dead space). this is what a vertical and horizontal image looks like. let me know what you think. Kenny HungScott Yan |
➤ Kenny Hung commented: Ethan Wu I think this ( https://app.asana.com/0/0/1202789809053002/1202811344860460/f ) is looks better than fill space. |
➤ Ethan Wu commented: Kenny Hung img preview implementation |
➤ Ethan Wu commented: Kenny Hung just realized that the "press img and display the original image" function won't work well for asset-page because the back button is leveraged with ionic. if that's the case maybe its better to just do "rescale" runtime rendering? what your thoughts? |
➤ Kenny Hung commented: I think this part is okay, because I think we could use other ways let user see the original img. |
➤ Ethan Wu commented: Kenny Hung so just to clarify let us set the image preview to
|
➤ Kenny Hung commented: Ethan Wu |
➤ Ethan Wu commented: Kenny Hung correct |
➤ Kenny Hung commented: Ethan WuTammy Yang
I prefer #1. Although there is some space, the preview is more like the original. |
➤ Ethan Wu commented: I have submitted a code review with:
|
➤ Kenny Hung commented: on 0.64.2, qa passed. |
User story
As a Capture App user, I want see the normal size of preview photo so that I don't have the concern of my asset.
I think the solution could be
┆Issue is synchronized with this Asana task by Unito
┆Created By: Kenny Hung
The text was updated successfully, but these errors were encountered: