Hi Eric, I like this approach and, some time ago, I started a discussion on the ML about this. http://www.mail-archive.com/[email protected]/msg11586.html
The item is still on my todo list. The dynamic image scale with cache is something I find really interesting to add to OFBiz. I used with drupal this component http://drupal.org/project/imagecache that does the same thing and could be used, may be, as a reference. -Bruno 2009/1/12 Eric DE MAULDE <[email protected]>: > Hi, > > I create a XML file to set images dimensions (height, width) related to their > sizes (small, medium, large) by Web site > The target is to scale (... add a logo) from a saved detail image (if the > asked size file doesn't exist). > > My solution : > > ImageProperties.xml <-- Image.class (scale detail image and create the > image file if need be - doesn't exist with the rigth height or width) <-- > Screen (call a product image) --> display the related image > > Does it exist a general java class to filter a XM file ? > Or do you know a better solution ? > > Thanks > > Eric
