Skip to content

Gallery field order #50

@omzy

Description

@omzy

I have added some images with the gallery field. I then re-ordered the images in the admin, however on the front end it is still showing the images in the previous order. In the admin I can see the images are in the new order after refreshing the page.

Is this an issue with corcel or with acf?

I output the images as follows:

@foreach ($post->acf->gallery('article_images') as $image)
     <img tag here>
@endforeach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions