When you click the image icon, you will get the Image properties window which consists of Image Info, Link, Upload, and Advanced. How do i disable everything except Image info? Thanks.
Found way to disable width and height fields from editor\dialog\fck_image.html. Don't know why, but I could't just remove the table where those fields were, but I added "display: none;" into that and it works fine.
For the preview iframe I added width style attribute so that it stretches propertiew window when it opens. That works but the popup is slightly misplaced because it is posioned before that. So, I'm still looking for better way to resize the popup but I can live with this solution...
I was applying display:none to the individual options in the drop-down and that didn't work. I just commented out the options I didn't want and that did work.
Commenting out the tr's for the Border, HSpace, etc... doesn't work though, the form stops working. The display:none does work for these items though.
Re: Disable functions in Image Properties windows
Re: Disable functions in Image Properties windows
Here are its parameters:
FCKConfig.ImageDlgHideLink
FCKConfig.ImageUpload
FCKConfig.ImageDlgHideAdvanced
P.S. For your information look up to /fckeditor/editor/dialog/fck_image/fck_image.js, if you understand JavaScript.
Re: Disable functions in Image Properties windows
It worked perfectly. Thanks.
Re: Disable functions in Image Properties windows
And also, is it possible to increase the size of the image properties popup? Now the preview window is quite small...
Re: Disable functions in Image Properties windows
For the preview iframe I added width style attribute so that it stretches propertiew window when it opens. That works but the popup is slightly misplaced because it is posioned before that. So, I'm still looking for better way to resize the popup but I can live with this solution...
Re: Disable functions in Image Properties windows
Any suggestions?
Thanks
Brett
Re: Disable functions in Image Properties windows
I was applying display:none to the individual options in the drop-down and that didn't work. I just commented out the options I didn't want and that did work.
Commenting out the tr's for the Border, HSpace, etc... doesn't work though, the form stops working. The display:none does work for these items though.
Thanks
Brett