Scaling and image in subcontent element

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Scaling and image in subcontent element

Gavin Mabie
Hi

 

I tried to resize an image that I want to render through the sub-content
screen widget element.  Looking at the widget-screen definition for the
sub-content element, I noticed that there is no attribute for styling.  I
can specify size through a style attribute for the image container, but that
does not scale the image.  It will merely crop it down to the size
specified.  Any advice on how to scale an image rendered through the
sub-content element.

 

Regards

 

Gavin

Reply | Threaded
Open this post in threaded view
|

RE: Scaling and image in subcontent element

Gavin Mabie
Sorted it out.  Thanks.

-----Original Message-----
From: Gavin Mabie [mailto:[hidden email]]
Sent: 21 October 2011 05:45 AM
To: [hidden email]
Subject: Scaling and image in subcontent element

Hi

 

I tried to resize an image that I want to render through the sub-content
screen widget element.  Looking at the widget-screen definition for the
sub-content element, I noticed that there is no attribute for styling.  I
can specify size through a style attribute for the image container, but that
does not scale the image.  It will merely crop it down to the size
specified.  Any advice on how to scale an image rendered through the
sub-content element.

 

Regards

 

Gavin