Sized Image
Create theme sized images using the “sized_image” shortcode and optional settings for image dimensions, link, etc.
- size:
- (string) (Optional) Image alignment: 60-60|90-70|105-75|185-100|225-130|295-150|310-160|480-220|620-200.
- image:
- (string) URL of the image file.
- left:
- (string) (Optional) the margin left for image.
- right:
- (string) (Optional) the margin right for image.
- alt:
- (string) (Optional) Image description or alternate text.
- link:
- (string) URL for the image link.
- lightbox:
- (string) (Optional) Open link in a lightbox: Yes, No. If opening the full size version of the image being resized the “link” parameter is not needed.
- rel:
- (string) (Optional) Text for link’s “rel” tag. Multiple images with the same rel tag will be connected through the lightbox next/previous buttons.
[sized_image size="60-60" image="http://mysite.com/image.jpg" left="0" right="0" alt="Image description or alternate text" link="http://mysite.com/image.jpg" lightbox="yes"]
Resized Image
Create theme resized images using the “resized_image” shortcode and optional settings for image dimensions, link, etc.
- width:
- (integer) Image width. Set to “0″ for original width.
- height:
- (integer) Image height. Set to “0″ for original height.
- image:
- (string) URL of the image file.
- align:
- (string) (Optional) Image alignment: left, right, center.
- alt:
- (string) (Optional) Image description or alternate text.
- link:
- (string) URL for the image link.
- lightbox:
- (string) (Optional) Open link in a lightbox: Yes, No. If opening the full size version of the image being resized the “link” parameter is not needed.
- rel:
- (string) (Optional) Text for link’s “rel” tag. Multiple images with the same rel tag will be connected through the lightbox next/previous buttons.
[resized_image width="480" height="280" image="http://mysite.com/image.jpg" alt="Image description or alternate text" link="http://mysite.com/image.jpg" lightbox="yes"]