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

[Feature Request] Autoscale images? #46

Open
dangom opened this issue Nov 30, 2021 · 2 comments
Open

[Feature Request] Autoscale images? #46

dangom opened this issue Nov 30, 2021 · 2 comments
Assignees

Comments

@dangom
Copy link

dangom commented Nov 30, 2021

Hi,

Sometimes when going full screen or increasing the font size, the images stay small, obeying their attr_org width. I was wondering whether there'd be any way to have them scaled up automatically, maybe by means of hooks to start and stop.

Any tips on how to get that going would be highly appreciated.

Thank you!

@takaxp
Copy link
Owner

takaxp commented Dec 1, 2021

Currently, org-tree-slide doesn't support such feature but I've heard that redrawing an image within an org buffer according to the frame width is possible by hacking org-remove-flyspell-overlays-in and org-display-inline-images. Sorry I didn't test it so only I can do now is just providing links to the information.

http://misohena.jp/blog/2020-05-25-auto-update-inline-images-in-org-mode.html
http://misohena.jp/blog/2020-05-26-limit-maximum-inline-image-size-in-org-mode.html

Both written in Japanese so please translate it with the Google Translator.

@takaxp takaxp self-assigned this Dec 1, 2021
@refaelsh
Copy link

Hi,

Sometimes when going full screen or increasing the font size, the images stay small, obeying their attr_org width. I was wondering whether there'd be any way to have them scaled up automatically, maybe by means of hooks to start and stop.

Any tips on how to get that going would be highly appreciated.

Thank you!

+1

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

No branches or pull requests

3 participants