New Landing How can we help? Cardinal Team picture size

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #323860
    WineDesignNL
    Member
    Post count: 204

    Hi guys,

    The photo of this ‘Team member’ is blurry, whatever size I upload… It seems it’s sized down to 275x275px.

    What to do?

    Cheers – Wouter

    Attachments:
    You must be logged in to view attached files.
    #323927
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide us the credentials to have a look?

    -Rui

    #324015
    WineDesignNL
    Member
    Post count: 204
    This reply has been marked as private.
    #324210
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    We can help you override this via a child theme. Please install and activate the supplied child theme, found within the main zip file from ThemeForest.

    Please also add your FTP details for me.

    #324211
    WineDesignNL
    Member
    Post count: 204
    This reply has been marked as private.
    #324381
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I have added a patch to the Swift Framework plugin, this patch contains WordPress filters for each team image size. I’ll submit this patch so it’s within the next page builder update.

    Then in your child theme, I have included the function to override these filters (the standard image width x height).

    	function sf_override_spb_team_img_width_default() {
    		return '600';
    	}
    	add_filter( 'spb_team_img_width_default', 'sf_override_spb_team_img_width_default' );
    
    	function sf_override_spb_team_img_height_default() {
    		return '600';
    	}
    	add_filter( 'spb_team_img_height_default', 'sf_override_spb_team_img_height_default' );
    #324434
    WineDesignNL
    Member
    Post count: 204

    Thanks David!

    Cheers – Wouter

    #324435
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great. Thanks David.

    -Rui

    #324590
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    Any idea when the next update is coming? I’ve got another site with the same issue.

    Thanks.

    Cheers – Wouter

    #324749
    David Martin – Support
    Moderator
    Post count: 20834

    Glad to help you out. The patch was added last night so expect the update in the next week.

    If you want to add the other site FTP details, I can help you add the change manually.

    Thanks.

    #324751
    WineDesignNL
    Member
    Post count: 204

    Hi David,

    No need, next week is fine! Thanks!

    Cheers – Wouter

    #324756
    David Martin – Support
    Moderator
    Post count: 20834

    Ok, glad to help.

    Remember to add the code above to the child theme functions.php also.

    Thanks.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.