• Resolved Anonymous User

    (@anonymized-15761310)


    I found 2 errors on aalb_impression_generator.php

    Line 148:
    return '<img src="' . $image_url . '" width="1px" height="1px" alt="" style="position: fixed !important; bottom: -1px !important; right: -1px !important; border:none !important; margin:0px !important;" />';

    -An img element must have an alt attribute. Please add something.
    -Bad value “1px” for attribute “width” and “height”.
    Do not write px. We should write this way.
    <img src="//example.com/example.png" width="1" height="1">

    -Appendix:
    I know some people use this plugin via AMP, but AMP doesn’t allow

    inline styles

    .
    I would appreciate if AALB developpers delete inline styles from this aalb_impression_generator.

    Also I found another bug. Please visit here:
    https://wordpress.org/support/topic/error-save-failed-error-writing-contents-to-file/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Anonymous User

    (@anonymized-15761310)

    I’m sorry I had 1 mistake. This ‘img’ tag has alt attribute.😂

    Plugin Author Amazon Associates Link Builder

    (@amazonlinkbuilder)

    Dear @takamu,

    Thanks a lot for providing this information. We have added this to our known bugs list and will update you once we fix the same.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML errors on aalb_impression_generator.php’ is closed to new replies.