Hi,
The image preview area in the image dialog is of fixed size. When I choose a potential file to preview which is too large then horizontal and vertical scrollbars appear which makes it pretty difficult to see the image.
Is there anyway of automatically resize the image to fit the preview area?
Thanks in advance,
Avi
The image preview area in the image dialog is of fixed size. When I choose a potential file to preview which is too large then horizontal and vertical scrollbars appear which makes it pretty difficult to see the image.
Is there anyway of automatically resize the image to fit the preview area?
Thanks in advance,
Avi
RE: Image preview in the image dialog
Noboay got this same problem?
I really need help, anything would be appreciated.
Thanks
RE: Image preview in the image dialog
Another (perhaps easier) possibility is to change the size of the dialog window, which is basically nothing else than a html-popup. The size definitions are in fck_actions.js, search for the function "dialogImage()" (I have it on line 115).
hth,
Markus
RE: Image preview in the image dialog
Avi
RE: Image preview in the image dialog
fix the next row in browse.php:
<DIV class="ImagePreviewArea"><IMG id="imgPreview" border="0" width="200"></DIV>
By setting a with parameter your image fixes the with and automatically the height in the right aspect ratio.