Project

General

Profile

Actions

Feature #15808

closed

imgResource doesn't support stdWrap on minW and minH

Added by Peter Niederlag about 18 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2006-03-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

I have the width and height for an img_resource stored in a register.
In my case I have to use the minW and minH properties of the img_resource to
scale my image.
But unfortunatelly just these two properties are NOT of data type "pixel /
stdWrap" but just of type "pixel".
Seems I can't find any way to get my values from the register into these
properties.

Funny enough, similar properties of img_resource are of data type "pixel /
stdWrap", like the properties width, height, and even maxW and maxH.
I have tested all of these and can easily transfer my values from the
register to the property.
Just the two props minW and minH refuse cooperation (which is understandable
concerning that they are only of type "pixel").

Any workaround for this?!? Any idea why these two props are not of data type
"pixel / stdWrap"?!?
Thanks for your help! It is much appreciated (and very neccesary!).

(issue imported from #M2830)


Files

class.tslib_content.diff (2.17 KB) class.tslib_content.diff Administrator Admin, 2006-03-11 11:05
Kachelung.png (81.9 KB) Kachelung.png Administrator Admin, 2006-03-12 16:41
Actions

Also available in: Atom PDF