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

Image Preview in Structure Field uses full image size #2039

Closed
thathoff opened this issue Aug 26, 2019 · 3 comments

Comments

@thathoff
Copy link

commented Aug 26, 2019

When using images in a structure the preview uses the original file instead of the resized image (eg. used in the files list). So creating structures with a some large images (eg. 10mb, 4000x6000 pixels each) will make the panel very slow.

Maybe I haven’t found the right option but event settings the image property with the option size: tiny for this column the panel still uses the large image.

@texnixe

This comment has been minimized.

Copy link
Contributor

commented Aug 26, 2019

You could create your own files field preview as a workaround:

https://getkirby.com/docs/reference/plugins/extensions/field-previews

@thathoff

This comment has been minimized.

Copy link
Author

commented Aug 26, 2019

Yes I've thought about this, too (sorry for not mentioning it in the issue). Maybe we’ll fix it this way until it’s fixed in Kirby. Thank you!

@distantnative distantnative self-assigned this Sep 11, 2019
@distantnative distantnative added this to the 3.2.5 milestone Sep 11, 2019
distantnative added a commit that referenced this issue Sep 11, 2019
distantnative added a commit that referenced this issue Sep 11, 2019
bastianallgeier added a commit that referenced this issue Sep 13, 2019
@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
You can’t perform that action at this time.