New Landing How can we help? Themeforest Theme Support Uplift Image resolution of Team Member featured image

Viewing 15 posts - 1 through 15 (of 23 total)
  • Posted in: Uplift
  • #290367
    Amber Needler
    Member
    Post count: 117

    Hi,

    I have added two screenshots of how I want a Team Member to look and how it’s currently showing, I am working locally so cannot provide a URL.

    As you can see, the image is so blurry, and the image is actually 933 ร— 1400. So is there a way to not make it blurry and also, is it possible to change it so that the image is longer and not a square, so like how I’ve designed it in Photoshop? ๐Ÿ™‚

    Thanks,

    Amber

    Attachments:
    You must be logged in to view attached files.
    #290374
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Have you used the team member asset to create that?

    – Kyle

    #290375
    Amber Needler
    Member
    Post count: 117

    Hi,

    Yeah and I’ve used it loads of times as well and never had an issue with it so not really sure why it’s doing that now?

    Thanks,

    Amber

    #290376
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Can you please take a screenshot of the pagebuilder in the backend so I can check how you have set it up

    – Kyle

    #290379
    Amber Needler
    Member
    Post count: 117

    Added them below ๐Ÿ™‚

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #290383
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try put the team asset in a 1/2 column

    – Kyle

    #290384
    Amber Needler
    Member
    Post count: 117

    Tried and it doesn’t work!

    Thanks

    Amber

    #290570
    David Martin – Support
    Moderator
    Post count: 20834

    Please install and activate the supplied child theme once complete, please supply us with your WP login details and your FTP details which you can ask your host to provide you with.

    – David.

    #290571
    Amber Needler
    Member
    Post count: 117

    Hi,

    The child theme is already installed and active? I’ll get it up on a subdomain now and provide you with the details ๐Ÿ™‚

    Thanks,

    Amber

    #290578
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok thanks

    #290589
    Amber Needler
    Member
    Post count: 117
    This reply has been marked as private.
    #290836
    David Martin – Support
    Moderator
    Post count: 20834

    I was not able to override this via a child theme.

    Rather I had to edit the Swift Framework plugin for you. I’ll describe what I did for your reference.

    1) Open: /wp-content/plugins/swift-framework-v4/includes/page-builder/shortcodes/team.php.

    2) Locate:

    if ( $image ) {
    	$items .= '<img itemprop="image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $member_name . '" />';	
    }

    3) Replace with:

    if ( $image ) {
        if ( is_front_page() ) {
        	$items .= '<img itemprop="image" src="' . $thumb_img_url . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $member_name . '" />';
        } else {
        	$items .= '<img itemprop="image" src="' . $image[0] . '" width="' . $image[1] . '" height="' . $image[2] . '" alt="' . $member_name . '" />';	
        }
    }
    #290870
    Amber Needler
    Member
    Post count: 117

    Hi,

    Perfect! Thanks for your help ๐Ÿ™‚

    Amber

    #290873
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem!

    #291190
    theagent
    Member
    Post count: 17

    Hi

    Sorry for re-opening a topic, but i tried the above solution, and after i saved and re-uploaded the team.php file, my WordPress install went blank. I enabled debug, and it gave me the following warning:

    Warning: require_once(/removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/shortcodes/team.ph.php): failed to open stream: No such file or directory in /removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/sf-page-builder.php on line 69

    Fatal error: require_once(): Failed opening required ‘/removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/shortcodes/team.ph.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/sf-page-builder.php on line 69

    I saw, that he was searching for team.ph.php

    Than i renamed my edited file to team.my, and reauploaded the original to check if i messed up something. Warning came back, but even more strangely:

    Warning: require_once(/removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/shortcodes/team.ph.php.php): failed to open stream: No such file or directory in /removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/sf-page-builder.php on line 69

    Fatal error: require_once(): Failed opening required ‘/removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/shortcodes/team.ph.php.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /removed_dev_url/wp-content/plugins/swift-framework/includes/page-builder/sf-page-builder.php on line 69

    Yes: it added the extension again.

    So what i did is i renamed teamp.php to team.ph.php.php and now it works, but this is not a solution ๐Ÿ™‚

    Can you help me with it?

    TY

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in to reply to this topic.