Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please add Vimeo On Demand support.

    Thread Starter cotillardq

    (@cotillardq)

    Hi,

    What I am trying to do is create a “dynamic” gallery of attachments images.
    the same way the default gallery works
    https://codex.www.ads-software.com/Gallery_Shortcode

    I am able to pull the files in using PHP this way but it is of no use to me as I need it inside a gallery.

    <?php
    $images =& get_children( array (
    ‘post_parent’ => $post->ID,
    ‘post_type’ => ‘attachment’,
    ‘post_mime_type’ => ‘image’
    ));

    if ( empty($images) ) {
    // no attachments here
    } else {
    foreach ( $images as $attachment_id => $attachment ) {
    echo wp_get_attachment_image( $attachment_id, ‘thumbnail’ );
    }
    }
    ?>

    Thread Starter cotillardq

    (@cotillardq)

    The review is not based in inability to read specs or poor understanding. After contacting and working with the wp-type team they have confirmed that there are some limitations and help found a work around. They also informed me that they are currently working on a revamp of the type plugin so that it will be easier and more flexible.
    As it stand I still think the 2 stars are a fair rating but once they fix types it will certainly change.

    Now we can certainly keep it friendly. I appreciate the fact that you do not agree with me but there is no need for being “agressive”. Drupal and wordpress (and many other CMS) have their place and reasons to be. There’s many things from WP which I would love to see in Drupal and vice versa. In this particular case I do think Drupal has the upper hand for now and I used it as a reference point in case anyone was coming with the same expectation as I did.

Viewing 3 replies - 1 through 3 (of 3 total)