Description Usage Arguments Examples
Crop and scale header to square
1 2 3 4 5 6 7 8 9 | blog_img_sq(
image,
width_px = 300,
height_px = 300,
wcrop_px = 2988,
hcrop_px = 2988,
woffset_px = 1200,
hoffset_px = 0
)
|
image |
a jpeg image |
width_px |
output width pixels |
height_px |
output height pixels |
wcrop_px |
selected width pixels to crop, defaults to center? |
hcrop_px |
selected height pixels to crop defaults to center? |
woffset_px |
plus or minus horizontal pixels from center most |
hoffset_px |
plus or minus vertical pixels from center most |
1 2 3 4 | ## Not run:
blog_img_sq("some_image.jpg")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.