Re: can i dont give option to clients to resize image??

  •  09-12-2010, 8:40 PM

    Re: can i dont give option to clients to resize image??

    Hi vagelis28,
     
    Please try the way below to hide the size section.
     
    1. Open file "CuteSoft_Client\CuteEditor\Dialogs\InsertImage.aspx"
     
    2. Find section below, it is the size section
     
    1. <table border="0" cellpadding="0" cellspacing="0" class="normal">  
    2.         <tr>  
    3.             <td style="width: 100; white-space: nowrap">  
    4.                 [[Width]]:</td>  
    5.             <td>  
    6.                 <input type="text" size="2" id="inp_width" onkeyup="checkConstrains('width');" onkeypress="return CancelEventIfNotDigit()"  
    7.                     style="width: 80px" />  
    8.             </td>  
    9.             <td rowspan="2" align="right" valign="middle">  
    10.                 <img src="../Load.ashx?type=image&file=locked.gif" id="imgLock" width="25" height="32"  
    11.                     title="[[ConstrainProportions]]" />  
    12.             </td>  
    13.         </tr>  
    14.         <tr>  
    15.             <td>  
    16.                 [[Height]]:</td>  
    17.             <td>  
    18.                 <input type="text" size="2" id="inp_height" onkeyup="checkConstrains('height');"  
    19.                     onkeypress="return CancelEventIfNotDigit()" style="width: 80px" />  
    20.             </td>  
    21.         </tr>  
    22.         <tr>  
    23.             <td colspan="2">  
    24.                 <input type="checkbox" id="constrain_prop" checked="checked" onclick="BLOCKED SCRIPTtoggleConstrains();" />  
    25.                 [[ConstrainProportions]]   
    26.             </td>  
    27.         </tr>  
    28.     </table>  

    3. Change it to
     
    1. <table border="0" cellpadding="0" cellspacing="0" class="normal" style="visibility:hidden">  
    2.         <tr>  
    3.             <td style="width: 100; white-space: nowrap">  
    4.                 [[Width]]:</td>  
    5.             <td>  
    6.                 <input type="text" size="2" id="inp_width" onkeyup="checkConstrains('width');" onkeypress="return CancelEventIfNotDigit()"  
    7.                     style="width: 80px" />  
    8.             </td>  
    9.             <td rowspan="2" align="right" valign="middle">  
    10.                 <img src="../Load.ashx?type=image&file=locked.gif" id="imgLock" width="25" height="32"  
    11.                     title="[[ConstrainProportions]]" />  
    12.             </td>  
    13.         </tr>  
    14.         <tr>  
    15.             <td>  
    16.                 [[Height]]:</td>  
    17.             <td>  
    18.                 <input type="text" size="2" id="inp_height" onkeyup="checkConstrains('height');"  
    19.                     onkeypress="return CancelEventIfNotDigit()" style="width: 80px" />  
    20.             </td>  
    21.         </tr>  
    22.         <tr>  
    23.             <td colspan="2">  
    24.                 <input type="checkbox" id="constrain_prop" checked="checked" onclick="BLOCKED SCRIPTtoggleConstrains();" />  
    25.                 [[ConstrainProportions]]   
    26.             </td>  
    27.         </tr>  
    28.     </table>  
     
    Regards,
     
    ken
View Complete Thread