Load time and Course images

Home Forums Legacy Support Support queries Other issues Load time and Course images

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #155345
    rajamohammed
    Spectator
    I just noticed that course images are not optimized, it should be loading appropriate thumbnail image instead of loading the image in original size this is reflecting on page load time.  with server optimisation and caching we were able to reduce the load time but these images reduced the load time and we only have 6 courses now the case would be worse in case we need to display 20 courses http://prntscr.com/jdhmsi  
    #155452
    Anshuman Sahu
    Keymaster
    provide some time to check this .
    #155485
    rajamohammed
    Spectator
    Hi, You want me to give an appropriate time for you to check with me? or you are just informing?
    #155554
    Anshuman Sahu
    Keymaster
    Unable to replicate this on our demos : http://prntscr.com/je1nc0    Olease provide site url in private reply to check this .
    #155558
    rajamohammed
    Spectator
    This reply has been marked as private.
    #155610
    Anshuman Sahu
    Keymaster
    Hi, Please paste the following code in wp-admin>plugin>editor>Wplms customizer plugin   add_filter('vibe_thumb_featured_image','custom_featured_image'); function custom_featured_image(){ global $post; return featured_component($post->ID,'small'); }
    #155628
    rajamohammed
    Spectator
    Thanks, but it should be cropping the image to the dimension instead of resizing it . with various instructors uploading the courses its better apply crop they cannot deliver the same dimension all time.
    #155660
    Anshuman Sahu
    Keymaster
    Hi, Will you please elaborate what you exactly want ? I am unable to understand what you want. So please share some screenshot for better assistance.
    #155661
    rajamohammed
    Spectator
    http://prntscr.com/jetnb0 The images is resized but not cropped and hence it results in a unbalanced image placement.
    #155733
    Anshuman Sahu
    Keymaster
    Hi, The thing you want needs custom code. And this is not comes under theme support. You can solve this issue by a light way. Add the given below css in wp-admin>appearance>customize>custom css .block.courseitem.course4 .block_media img{height:100px;object-fit:cover;} Adjust height according to requirement.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Load time and Course images’ is closed to new replies.