April 12, 2021

Orientate Images for Hugo Blog Posts with Mogrify

development hugo images

Paul Kelly

After posting the previous article I noticed that all of the images other than the header image in the post were rotated 90 degrees to the left. This was a bit strange as all my other posts with images had published correctly and the images also appeared to be the correct orientation when I viewed them in file explorer or any other image viewer. I was puzzled. However, seeing as it was only the post images and not the header image I soon deduced it was the the img shortcode I am using that had caused the problem.

Read More