I have to agree with sander-martijn here -- there IS a way to do it, and it's imagecache. I use it on my sites and I love it.
http://quixoticlife.net/artgallery http://ringsforever.com/classic-titanium-wedding-rings
sander said he uses it with thickbox; I use it with lightbox2 and it also works very well. I learned all I needed to know about it from Lullabot:
http://www.lullabot.com/articles/image_and_image_exact_sizes_vs_imagefield_a... http://www.lullabot.com/articles/imagecache_example_user_profile_pictures
In this particular case, Xav wants to ALSO use acidfree, and in that case, it's true, it doesn't seem like there's a ready-made solution. But that seems like a pretty specific use case to me. Personally I love imagecache, so I would focus more on integrating it with acidfree than trying to roll something custom or waiting for media manager.
--ivan
On Feb 11, 2008, at 1:42 PM, Randal wrote:
At 1:26 PM -0500 2/11/08, Earnie Boyd wrote:
Quoting Xavier Bestel xavier.bestel@free.fr:
On Mon, 2008-02-11 at 07:45 -0500, Earnie Boyd wrote:
Quoting Xavier Bestel xavier.bestel@free.fr:
No solution ?
Use CSS. Add width and height parameters for img for the class.
Do you mean trying to fit a rectangular image in a square ? Won't that distort it ?
Probably. What are you looking for? Can this search [1] help or [2]?
[1] http://www.google.com/search?q=resize+image+site%3Adrupal.org [2] http://www.google.com/search?q=resize+img+php
Of course he doesn't want to distort the image!
The fact this sort of thing is not really easy to do is one of the BIGGEST stumbling blocks to average users and especially designers using Drupal. This should be one of the most basic and simplest things to implement and use in the program.
-- Randal
-- [ Drupal support list | http://lists.drupal.org/ ]