Home › Forums › Add-ons › Repeater Field › Create Image Mapper/Hotspot with repeater › Reply To: Create Image Mapper/Hotspot with repeater
OK,
I’ve been giving this some thought and think I can work out the stages but need help with the code
1) So you create a new post
2) Upload an image to the custom field: Image
3) Publish
4) Ideally once published then a repeater field appears (is that easy to do?)
5) The ACF repeater has:
– Caption
– URL
– X coordinate
– Y coordinate
6) At the end of the repeater row you can click to open a pop up
7) The pop up window contains this script but shows the image from the published post
8) You click the image and to get an X and Y value
9) These are then passed back to the repeater
Am I over complicating this? Is there an easier solution?
Any help is very much appreciated
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN
— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.