Image type doesnt allow %width and %height view mode on IE

Talk about Image/File fields (uploading, problems etc.)

Moderator: alexandrleonenko

avga2000
Junior
Junior
Posts: 14
Joined: Mar 15th, '09, 19:37

Image type doesnt allow %width and %height view mode on IE

Postby avga2000 » May 9th, '09, 19:42

Hello,

I had figured out the way resizing images proportionally in previous versions of Data Grid but now it is easier to do this with the new version.

However, I have not been able the way to show the size images proportionally in view mode, I only could do this by using "image_width"=>"100%" and "image_height"=>"100%", but it works on Firefox and it doesn't work on IE.

I'll appreciate any help. Thanks.

administrator
Site Admin
Site Admin
Posts: 6153
Joined: Jan 7th, '09, 23:18
Contact:

Re: Image type doesnt allow %width and %height view mode on IE

Postby administrator » May 16th, '09, 08:57

This issue will be fixed in v.5.0.6
If you want to save proportions (for example your image 3x4), so you just write width or height and system automatically adjust another image size.

In this example if i write in view mode "image_width"=>"90px" I will get image with width=90px and height=120px.


Return to “Field type: "image/file"”