![]() If you change image processing methods or options, or if you rename or remove images, the resources directory will contain unused images. If you include this directory in source control, Hugo will not have to regenerate the images in a CI/CD workflow (e.g., GitHub Pages, GitLab Pages, Netlify, etc.). Hugo caches processed images in the resources directory. Image Processing Performance Consideration You can set the anchor point manually, but in most cases the Smart option will make a good choice.Įxamples using the sunset image from above: Smart Cropping of Imagesīy default, Hugo uses the Smartcrop library when cropping images with the Crop or Fill methods. To improve performance and decrease cache size, if you set neither excludeFields nor includeFields, Hugo excludes the following tags: ColorSpace, Contrast, Exif, Exposure, Flash, GPS, JPEG, Metering, Resolution, Saturation, Sensing, Sharp, and WhiteBalance. The Fit, Fill, and Crop methods require both width and height. With the Resize method you must specify width, height, or both. ResizePixels online image resizer provides a simple, yet powerful service to change the image size in pixels. ![]() The order of the options within the list is irrelevant. The Resize, Fit, Fill, and Crop methods accept a space-separated, case-insensitive list of options. ![]() You may include or exclude specific tags from this collection in the site configuration. Format with the time.Format function.Lat GPS latitude in degrees.Long GPS longitude in degrees.Tags A collection of the available Exif tags for this image.
0 Comments
Leave a Reply. |