Support » Plugin: Facebook Plugin: WP Social » nice, but poor in high customization

  • Good plugin, excellent support.

    I just encounter 2 issues:

    – it doesn’t crop the picture at all, it adds width and height attributes to the image, but I want the image to be cropped as a square. So I changed the code of the picture and put it as a background image.

    Here’s my code

    $width = strlen($width)>0 ? 'width:'.$width.'px' : '';
    $height = strlen($height)>0 ? 'height:'.$height.'px' : '';
    
    $replace = '<a href="'.$photo_link.'" title="'.htmlspecialchars($title, ENT_QUOTES).'" target="_blank" style="background-image:url('.$photo_source.'); '.$width.'; '.$height.'"></a>';

    – I’m looking for an option to select the displayed statuses

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author richardgabriel

    (@richardgabriel)

    Hey Kateriiine!

    I think we have been corresponding via our support thread outside of this forum, but I wanted to reply here, too!

    1) I mentioned in the support thread, but I think this is best achieved with our Custom HTML feature. However, that is poorly documented so it isn’t immediately obvious how to get this done. We continue to address this via that thread!

    2) This is good to know. Going to look into this and will address any bugs!

    Thanks again! I will followup here and via our thread with more information.

    Best,
    Richard

    Oh, did I say the support is awesome?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘nice, but poor in high customization’ is closed to new replies.