[ic] image size
Carl Bailey
carl at endpoint.com
Sun Nov 9 18:07:06 UTC 2008
On Nov 9, 2008, at 10:48 AM, John Hoy wrote:
> Tho only proper way to do this is to have your images cropped and
> sized to want you want them to be in Photoshop or other photo program
> before you upload them into Interchange. You could have a program
> like ImageMajick scale them for you to a set size, but if you want the
> same aspect ratio for all photos to be consistent it would be
> impossible for a program to intelligently crop photos that are
> uploaded at an undesirable aspect ratio.
>
> JD
John is quite right. Having properly photo-shopped images of a
standard size is the gold standard.
However, if you don't have that option, the [image] tag might be your
friend. You need to have ImageMagick installed on your server to make
use of all the features, but if you do, then something like [image
src="/path/to/the/image.jpg" makesize="120x80"] would rescale your
image to fit within the constraints of 120 pixels wide by 80 pixels
tall, while preserving the aspect ratio of the original.
You can read more about the [image] tag here: http://www.interchange.rtfm.info/icdocs/tags/image.html
Regards,
Carl
. . . . . . . . . . . . . . . . . .
Carl Bailey
End Point Corp.
t: 919-323-8025
. . . . . . . . . . . . . . . . . .
More information about the interchange-users
mailing list