• Resolved akadis2

    (@akadis2)


    Thanks for all your support fireproofsocks… I have successfully created my views for multi-select custom fields.

    The only issue I have left to resolve is how make my thumbnails display with a width of 100px.

    I tried these two options, but none of them work:

    <?php print wp_get_attachment_image($r[‘thumb’]); ?> <img width=”10″>

    <?php print wp_get_attachment_image($r[‘thumb’, ‘medium’]) ; ?>

    http://ww.wp.xz.cn/plugins/custom-content-type-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter akadis2

    (@akadis2)

    I figured it out. Thanks.

    Plugin Contributor fireproofsocks

    (@fireproofsocks)

    I think you are passing the wrong arguments to the wp_get_attachment_image() function. Would you like to paste the working code here for the record?

    Thread Starter akadis2

    (@akadis2)

    I changed the size of my thumbnail images in WP to be 100px by 100px

    Then I used this code as part of my template:

    <?php print wp_get_attachment_image($r[‘thumb’], thumbnail); ?>

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

The topic ‘Display medium size Thumbnail’ is closed to new replies.