The MU forums have moved to WordPress.org

get_the_image plugin, Arthemia and custom fields (8 posts)

  1. chinocharles
    Member
    Posted 14 years ago #

    This is in reference to this site: wpmu.dixcdn.com/nwohsports

    On the Headline story there is an image associated, but we couldn't get the "Image" custom field to work so as of now they're having to post this screenshot of them doing the video in the story itself for the thumbnail to show on the main page. Any idea what I have to do differently to make the custom field image show up? Here is the line in index.php.

    <?php get_the_image(array('custom_key' => get_post_custom_values("Image"), 'default_size' => 'full', 'image_scan' => true, 'width' => '300', 'image_class' => 'alignleft')); ?>

  2. andrea_r
    Moderator
    Posted 14 years ago #

    I really need to roll back code to the devs...

    We did this on a site and did a number of changes to get it working.

    I found they used timthumb in too many many places to use get_the_image fully integrated. It was easier to add some code. :D

    **

    But! for the get_the_image (which usually does work nice) I may have to go fiddle and I'm in the middle of lunch. :D

  3. chinocharles
    Member
    Posted 14 years ago #

    Enjoy your chowder, haha. Thanks for your help!

  4. chinocharles
    Member
    Posted 14 years ago #

    Bumperoo!

  5. andrea_r
    Moderator
    Posted 14 years ago #

    Doh! Forgot. :D

  6. andrea_r
    Moderator
    Posted 14 years ago #

    okay, now I remember even when we tried swapping out timthumb for GTI, it still wouldn't work.

    did you see my post with changes?

  7. chinocharles
    Member
    Posted 14 years ago #

    I didn't... can you please clarify? In your previous post there are two asterisks. Was there supposed to be code there?

  8. andrea_r
    Moderator
    Posted 14 years ago #

    Nope, the asterisks were for a change in thought patterns. (sorry)

    THe post I meant was the one in the blog:
    http://wpmututorials.com/hacks/timthumb-workaround/

About this Topic

  • Started 14 years ago by chinocharles
  • Latest reply from andrea_r