Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Alex,
    i was faced the same problem, and after headache. finally i found solution, i hope that helps you:

    1. Open Plugins’s directory into “wp-content“.
    2. find “simple-share-buttons-adder” directory.
    3. then “inc” directory, into “simple-share-buttons-adder“.

    /wp-content/plugins/simple-share-buttons-adder/inc

    4. search for “ssba_buttons.php” file
    5. search into file by “ssba_facebook“, “ssba_twitter“, “ssba_google“, or “ssba_email“..etc
    6. you will find in this section two lines need to add your width & height into. like(in my case):

    1st line
    Befor

    // show selected ssba image
    $htmlShareButtons .= ‘<img src=”‘ . plugins_url() . ‘/simple-share-buttons-adder/buttons/’ . $arrSettings[‘ssba_image_set’] . ‘/facebook.png” title=”Facebook” class=”ssba ssba-img” alt=”Share on Facebook” />’;

    After

    // show selected ssba image
    $htmlShareButtons .= ‘<img width=”30px” height=”30px” src=”‘ . plugins_url() . ‘/simple-share-buttons-adder/buttons/’ . $arrSettings[‘ssba_image_set’] . ‘/facebook.png” title=”Facebook” class=”ssba ssba-img” alt=”Share on Facebook” />’;

    2nd line
    Before

    // show custom image
    $htmlShareButtons .= ‘<img src=”‘ . $arrSettings[‘ssba_custom_facebook’] . ‘” title=”Facebook” class=”ssba ssba-img” alt=”Share on Facebook” />’;

    After

    // show custom image
    $htmlShareButtons .= ‘<img width=”30px” height=”30px” src=”‘ . $arrSettings[‘ssba_custom_facebook’] . ‘” title=”Facebook” class=”ssba ssba-img” alt=”Share on Facebook” />’;

    and you must repet last step for “Twitter”, “Google”, and anything else if you already use
    Now, you can run your test and everything will be OK

    Thread Starter Alexkehoe

    (@alexkehoe)

    Thats great. Thank you so much for such a detailed response. I will give this a try later. All the best. Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image Dimension Specify Warning’ is closed to new replies.