The discussion revolves around an issue with manually changing the width and height of images in a forum post, which sometimes doesn’t work as expected. ccstone reported the issue and provided examples of images that failed to resize despite being resized in the editor preview.
ccstone shared test images to demonstrate the problem, which sam and sam requested for further investigation.
Mittineague suggested that changing the src value of the image might resolve the issue.
zogstrip explained that the discrepancy between the preview and the cooked image is due to the magic cropping feature, which ensures that tall images are not displayed in posts. The image ratio is the reason why the “cooked” image isn’t resized by changing the size in the markdown.
ccstone noted that the default height of the “cooked” image seems to have been changed, making the image display larger than expected. zogstrip confirmed that the “max_image_height” was set to 2000, explaining the cropped image’s height.
The discussion also briefly touched on the Keyboard Maestro automation utility for Mac, which was mentioned in the context of an image being used in the discussion.
On this page of the Keyboard Maestro forum post #1 has a fairly insanely large image caused by the screenshot being taken on a retina Mac.
As one of the moderators of the forum I fix these when I come across them. I believe they are usually (perhaps always) PNG files.
The problem we have is that changing the image’s width/height doesn’t always work on the display page – even though the image is perfectly resized in the editor preview.
What might be causing this discrepancy, and what’s the best way to fix it?
and you changed the width and height values, have you also tried changing the src value? i.e. 27a90309b2f8e079db760d791744afa8b5cf4819_1_690x2000.png
notice the “690x2000” in the name.
I have an older 17" MacBook Pro with a 1920x1200 screen.
On my system the measured display size of the image on the Keyboard Maestro forum is approximately 662x1187 pixels. (Measured with a screen ruler app.)
So Peter must have change the default height of the “cooked” image. It is much larger than what is showing here on the meta forum.
Unpleasantly large — thus my attempt to manually resize it. Take a look.
Are you saying this is the reason the “cooked” image isn’t resized by changing the size in the markdown?