Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images in Repeater no showing when repeater title contains number of images. #97

Closed
CaelanStewart opened this issue Nov 28, 2016 · 1 comment

Comments

@CaelanStewart
Copy link

CaelanStewart commented Nov 28, 2016

Short description of the issue

If I have an image field in a repeater, and then show the number of images in the repeater item's title, the images don't show.

Expected behavior

The images should show regardless of the title of the repeater item.

Actual behavior

The images do not show.

Steps to reproduce the issue

  1. Create a new repeater field
  2. Create a new image field named "images"
  3. Add the image field to the repeater
  4. Set the repeater's "Repeater Item Labels" option under the "Details" tab to Item #n: {images.count} image(s) or just something that contains {images.count}
  5. Add the repeater field to a page
  6. Add a new item to the repeater
  7. Upload an image to the field inside the repeater
  8. Click save
  9. Notice that the image does not show up
  10. Now revert the "Repeater Item Labels" option for the repeater to it's default value (or just remove the {images.count} part).
  11. Edit the page with the repeater, again
  12. Notice that the image you uploaded now shows up

Setup/Environment

  • ProcessWire version: 3.0.42
ryancramerdesign added a commit to processwire/processwire that referenced this issue Dec 1, 2016
…} in repeater label caused issue with loading images in the repeater
@ryancramerdesign
Copy link
Member

Thanks @CaelanStewart I've pushed a fix for this issue.

foobarlab pushed a commit to foobarlab/processwire that referenced this issue Sep 15, 2017
…} in repeater label caused issue with loading images in the repeater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants