Support

Account

Home Forums Add-ons Gallery Field Display Images in Post like/in a List

Helping

Display Images in Post like/in a List

  • Hi,

    usually I use your Addon for the standard WordPress gallery function.

    At the moment I´m programming a Photographer Website.

    Here is the thing:

    When he imports for example 40 Pictures into the post with full size (content width) it is very difficult – nearly impossible – to sort them afterwards.
    I know that it is still possible to drag and drop an image in a post, but from the last position into the 3rd it is not very comfortable…

    What I want:

    Using your Addon to put Images into the post plus the possibility to sort them in your Gallery Field as usual.
    But I don´t want them to be inserted like a gallery – I did that already – in this case we don´t need that.

    I don´t mind if they are in a List or just among each other – kind of:

    
    <?php 
    	$image_ids = get_field('img-list');
    	<img src="image-id" alt="image-alt">
    ?>
    

    I hope you understand my problem – sorry for my english – I´m from Austria.

    Thanks in advance
    Martin

  • Hi @a2c

    Just to clarify, are you asking how to render the gallery field images onto your template?

    If so, have you looked at the docs? You will see that the gallery field docs include a clear code example of how to loop through the images data, and render any HTML you wish.

    http://www.advancedcustomfields.com/resources/field-types/gallery/

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Display Images in Post like/in a List’ is closed to new replies.