Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit lacus ut purus iaculis feugiat. Sed nec tempor elit, quis aliquam neque. Curabitur sed diam eget dolor fermentum semper at eu lorem.
fig-100和宽高不用同时设置,可以添加4个样式参数fancybox、 nocaption 、fig-50、 clear,fancybox可以点击的Image、 nocaption不显示Title、 fig-50显示宽度的百分之50、 clear可以换行,下表进行了详细说明。 • fancybox : Generate a fancybox image. • nocaption : Caption of the image will not be displayed. • left : Image will float at the left. • right : Image will float at the right. • center : Image will be at center. • fig-20 : Image will take 20% of the width of post width and automatically float at left. • fig-25 : Image will take 25% of the width of post width and automatically float at left. • fig-33 : Image will take 33% of the width of post width and automatically float at left. • fig-50 : Image will take 50% of the width of post width and automatically float at left. • fig-75 : Image will take 75% of the width of post width and automatically float at left. • fig-100 : Image will take 100% of the width of post width. • clear : Add a div with clear:both; style attached after the image to retrieve the normal flow of the post.
1
Syntax : {% image [classes] group:group-name /path/to/image [/path/to/thumbnail] [width of thumbnail] [height of thumbnail] [title text] %}