|
Testing Image Sizes for Layout
D E S C R I P T I O N: |
|
|
If you want to have wide images centered and other images aligned on the right, you can do this with an image macro. The following macro tests to see if the image width is greater than 350 pixels. If it is, it uses a centering layout. If it isn't that wide, the macro aligns the image on the right.
<dpMacro myImageLayout>
See also: <dpIf>, <dpImageWidth>, <dpStory>
|
| Home:
Support:
Reference Guide:
|
Questions? Comments? Please write support@desert.net. |