• Resolved Bob Rockefeller

    (@bobrocke)


    My markup with WP Retina 2x deactivated is:

    <img width="205" height="205" src="https://www.brp.test/wp-content/uploads/2013/11/Kees-Nelis-Tulips-205x205.jpg" class="attachment-thumbnail" alt="Kees Nelis Tulips">

    Nothing changes when WP Retina 2x is activated with the Advanced Method set to none and Debug Mode off.

    With Method retina.js turned on, all is still well.

    But when the debug mode is then turned on the markup is rewritten as:

    <img width="209" height="209" src="https://www.brp.test/wp-content/uploads/2013/11/[email protected]" class="attachment-thumbnail" alt="Kees Nelis Tulips">

    And the img.attachment-thumbnail used is 230px x 230px. That, of course, messes up the display of the WP gallery it’s being used with.

    The same thing happens when HTML Rewrite is set as the Method.

    What could I have configured wrong to be doing that?

    Bob

    https://www.ads-software.com/plugins/wp-retina-2x/

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

    (@tigroumeow)

    Sorry, can you clarify? I didn’t really understood the issue.

    Thread Starter Bob Rockefeller

    (@bobrocke)

    Jordy,

    I think I have it sorted. I was loading retina.js twice; once as part of your plug-in and again directly because I thought I needed to.

    Once I understood that WP Retina 2X comes with retina.js, I saw the problem and stopped loading it myself.

    I’ll let you know if that doesn’t actually fix it in the end.

    Bob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Retina 2x Rewriting Size Attributes’ is closed to new replies.