Home › Forums › General Issues › Displaying two different sizes for an image? › Reply To: Displaying two different sizes for an image?
Okay so I’ve got it working now. I think it might have just been the database needing to catch up or be refreshed. I uploaded a bunch of pictures without WP Media Folders and then inserted the gallery into a new page and it came out working correctly after some tweaks.
A couple of things worth noting. Part of the problem was [‘sizes’][‘full’] was not working at all. For some reason it seems my thing doesn’t get full images using the full keyword? It just comes up blank.
Second, part of the problem is that I forgot about the lazy loader loop I had made, so while I was applying changes to the php loop for the parts that loaded up afterwards, I wasn’t to the initial 5 images in the gallery, which is why I kept changing the code, and not seeing changes to the image elements that I was inspecting in the browser.
Got it working now!
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!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.