i'm using application called idashboards, , in there feature can add called viframe takes limited html create custom frame.
my knowledge of html pretty limited , no output feedback, it's hard use trial , error tactic.
i'm trying display image. image changes dependent on person that's selected in app. selection taken care of itself, problem size of pictures vary. i'm trying display image has definite height , scaled width.
displays full size image. height element doesn't seem constrain anything. if add width tag works scaling messed up. there way want?
the way see it, have 2 options can think of: 1. make every image in library square , specify square dimensions no distortion 2. somehow retrieve original height , width variables in html , specify both tags height being constant , width being expression of ratio between height , width. none of know possible. it? don't think allows tags either go javascript.
sorry basic knowledge in html, gentle.
are using 1 object , changing image or using many images , changing 1 displayed? way try use width:your_value_here; height:auto
in css document, should keep them in same ratio.
Comments
Post a Comment