Quoting Torben Nehmer <[EMAIL PROTECTED]>:
> Hi,

Greetings!

> I don't find that so, on my about 1000x800 browser window, they still fit 
> inside, I just have to scroll down a bit.

Well, the 'view'-scale images in my net.siriux.photos have been
set to use maximum width of 540px, and I would like to have these
correspond.

> Changing datatype_image would almost certainly call for a rewrite, perhaps 
> unifying the image handling code of n.s.photos with it. Maybe it would be 
> time having some "photo" helper library for stuff like this.

Could be nice.

But anyway, here's what I did for now. As the upload is handled *outside*
MidCOM anyway I didn't have to hack datatype_image yet. However, I'm
convert'ing the main image to "view scale" according to n.s.photos settings,
and storing the original image separately. I'm also storing one additional
parameter to the main image so that I can add support for the same feature
in datatype_image later:

$view_obj->parameter("midcom.helper.datamanager.datatype.image","origguid",$full_obj->guid());

> Torben Nehmer

/Bergie


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to