Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Adding Custom Image Size Causes Only One Size to Appear #32

Closed
hguiney opened this Issue · 2 comments

2 participants

Hugh Guiney Kyle Reicks
Hugh Guiney

Adding picturefill_wp_add_image_size('small', 480, 480, false, 'medium'); to my custom functions causes this to be the only output in a post with a full-size image:

<span data-picture data-alt="Alt Text" data-class="alignnone size-full wp-image-1209">
  <span data-src="full.jpg"><img alt="Alt Text" class="alignnone size-full wp-image-1209" src="full.jpg"></span>
    <noscript>&lt;img src="full.jpg" alt="Alt Text" width="4128" height="3096" class="alignnone size-full wp-image-1209" /&gt;</noscript>
</span>

When I remove that line, the post displays everything (thumbnail, medium, large, full).

Kyle Reicks kylereicks referenced this issue from a commit
Kyle Reicks re issues #32 and #33 reference the class correctly in filter calls, …
…and use array_splice correctly
75c6b5f
Kyle Reicks
Owner

Thanks hguiney. I have pushed a few hotfixes to the master branch. If you can confirm that it fixes the issue I will update the wordpress.org repository. Thanks again very much for the helpful feedback.

Kyle Reicks
Owner

These updates were pushed to version 1.3.4

If the updates did not address the issue as expected, please re-open the issue.

Thanks very much.

Kyle Reicks kylereicks closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.