2008/5/31 Jason Simanek <firstname.lastname@example.org
Agreed. I haven't implemented ImageMagick, but I have used CMS's that
On Fri, 2008-05-30 at 22:08 +0300, Eero Tamminen wrote:
> I think I like the idea of using ImageMagick more, cropping requires then
> just calling ImageMagick with the required are co-ordinates and size like
> convert -crop <width>x<height>+<x>+<y> <image> <cropped image>
use it and have dabbled with the command-line version. Very powerful and
Yes, but not if any scaling is necessary. You would create a div element
> 2/best would be if possible to do html magic and show only that part
> of the image. Like that, we do not need to include with the website a
> picture for every region (which would be most annoying). This would
> mean only changing the html code that the website generatores.
> > Jason, does such a trick exist?
with specific dimensions and then set the image as the background of
that element. Anything beyond the edges of the div would not be
displayed. You can then adjust the background image position in pixel
increments. One tricky part is bridging the communication gap between
GRAMPS image cropping at the HTML + CSS output. The other tricky part is
that I'm pretty sure that the background image will always be shown at
100%. I don't think we can scale the background image. That's probably a
Indeed. Do you know if in html 5 or upcoming standards this will be possible? It would be annoying to program that only to have it supported in webbrowsers a year later.