Household directory – images are not showing.

About Support App Household directory – images are not showing.

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9832
    Avatar for Richard HughesRichard Hughes
    Participant

    Thank you for the bug fixes and the new feature. Please seem my other post from last week about Bulk Email. (Our existing setup to use SMTP via SendGrid stoped working. We were forced to go use Mailersend. For other reasons, we still need to use SendGrid. So please re-enable that ability. )

    I forgot to mention this bug. The household images are not showing up. Simple fix. The $image statement is never reached, because of the if statement above it.

    Please update this code:
    if(!empty( $addressLine->attachment_id)&&$photo)
    {
    $image=wp_get_attachment_image( $addressLine->attachment_id,’ca-address-thumb’);
    if(defined(‘CA_DEBUG’) )//church_admin_debug( $image);
    $add.='<p>’.$image.'</p>’;
    }

    should be

    if(!empty( $addressLine->attachment_id)&&$photo)
    {
    $image=wp_get_attachment_image( $addressLine->attachment_id,’ca-address-thumb’);
    //if(defined(‘CA_DEBUG’) ) church_admin_debug( $image);
    $add.='<p>’.$image.'</p>’;
    }

    #9833
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    If you delete the Mailersend API key and choose smtp all should be good. Deleting the api key is the important bit.

    Will take a look at the other!

    #9834
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    You need to make sure all the individuals in a household are set to show photos for a household photo to show.
    Couldn’t see any difference in your code above.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.