magit / forge

Work with Git forges from the comfort of Magit
GNU General Public License v3.0
1.33k stars 117 forks source link

Cannot scroll past very large image in github issue #594

Closed ParetoOptimalDev closed 1 year ago

ParetoOptimalDev commented 1 year ago

Can we limit the size of images to a certain width similar to org-actual-image-width:

org-image-actual-width is a variable defined in ‘org.el’.

Its value is t

When non-nil, use the actual width of images when inlining them.

When set to a number, use imagemagick (when available) to set the
image’s width to this value.

When set to a number in a list, try to get the width from any
#+ATTR.* keyword if it matches a width specification like

  #+ATTR_HTML: :width 300px

and fall back on that number if none is found.

When set to nil, try to get the width from an #+ATTR.* keyword
and fall back on the original width if none is found.

When set to any other non-nil value, always use the image width.

This requires Emacs >= 24.1, built with imagemagick support.

  This variable was introduced, or its default value was changed, in
  version 24.4 of Emacs.
  You can customize this variable.

[back]
tarsius commented 1 year ago

I assume that you can move past the image using a moving command instead of a scrolling command. Tell me if that is not the case.

Scaling down images might make sense, but implementing that isn't a priority.

ParetoOptimalDev commented 1 year ago

You are correct. You can move past using the moving command.