Skip to content
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

【アンケートより】いろんなVKブロックの画像周りをカバーブロックのようにしてほしい(画像サイズ自動調整や自由な位置変更) #2102

Open
ChiakiKouno opened this issue Jul 11, 2024 · 4 comments

Comments

@ChiakiKouno
Copy link
Member

2023年度ユーザーアンケートより

カバーとかグリッドカラムカードとか、背景やイメージとしての画像を入れるケースってあると思いますが、例えば画像のサイズがバラバラでもある程度同じサイズ感に収めたり、もう少し上下左右に位置を自由に動かせたりと細かい指定ができるといいなと思います。カバーブロックにはそれがありますが、Vektorの他のブロックでも使えると使い勝手が良いと思いました。

すでに取り組んでたらすみません(河野)

@goutetsuguma
Copy link
Contributor

類似するissue Closeされてました

@mtdkei
Copy link
Contributor

mtdkei commented Aug 7, 2024

@goutetsuguma @ChiakiKouno @kurudrive
自由な位置変更についてはOuterでFocalPointPickerをつけて調整してみたらCoverブロックで使っているっぽいものができました。

2024-08-07.10.28.30.mov

あとはTabletやMobileの画像にもそれぞれ設定できたら良さそうですかね。コンポーネント化ができそうならそうしたいです。
https://github.com/vektor-inc/vk-blocks-pro/tree/add/outer/focal-point-picker

なぜ類似のCloseかはわかりませんので何か他の不安要素があれば検討します。

@ChiakiKouno ChiakiKouno changed the title 【アンケートより:未レビュー】いろんなVKブロックの画像周りをカバーブロックのようにしてほしい(画像サイズ自動調整や自由な位置変更) 【アンケートより】いろんなVKブロックの画像周りをカバーブロックのようにしてほしい(画像サイズ自動調整や自由な位置変更) Aug 8, 2024
@ChiakiKouno
Copy link
Member Author

2024/8/7の終礼で松田さんが試作を見せてくださり、ぜひ進めようとなった、というメモ。(松田さんありがとうございます!!)

@mtdkei
Copy link
Contributor

mtdkei commented Oct 7, 2024

例えば画像のサイズがバラバラでもある程度同じサイズ感に収めたり

というのはおそらくアスペクト比のことでしょうかね。ちょっとわからないですが。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants