Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
How do I reduce the width of the "f_k_image_img_preview" in the Admin. It covers the whole with so fills the whole screen when I scroll to the image preview section. Thank you
Could you please let me know more specifically exactly where I can find that image? Post a screenshot of the edit screen, if required. Thanks.
Ok KK. Kindly find attached what I was talking about. Thank you
Screen Shot 2018-01-12 at 2.03.51 PM.png
Screen Shot 2018-01-12 at 2.03.51 PM.png (581.3 KiB) Viewed 234 times

Please try using the following in your 'couch/addons/kfunctions.php' file -
Code: Select all
// fix image preview width in folders-edit
$FUNCS->add_event_listener( 'alter_pages_form_default_fields', 'my_fix_folder_image_width' );
function my_fix_folder_image_width( &$fields ){
    global $FUNCS;

    $route = $FUNCS->current_route;
    if( is_object($route) && $route->module=='folders' && $route->name='folder_edit_view' ){
        if( is_object($fields['k_image']['obj']) ){

Let me know if it helps.
Thanks KK. It did help.
5 posts Page 1 of 1

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 4 guests