[ic] image size
Rick Bragg
lists at gmnet.net
Sun Nov 9 23:21:18 UTC 2008
On Sun, 2008-11-09 at 13:07 -0500, Carl Bailey wrote:
> 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
> . . . . . . . . . . . . . . . . . .
>
Along this same thread, is there a simple way to "replace" the original
image with the tag? (or pass it through mogrify before it is even save
at all) when I use makesize=120x80 for example, it creates a
sub-directory 120x80 and places a resized copy there. However, in my
case, I will never be using these originals (and allowing many people to
upload!) I would like to simple replace the actual file as soon as it is
uploaded, then just use the image tag without resizing from that point
forward.
Thanks!
rick
--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.
More information about the interchange-users
mailing list