• I am using Custom Fields to define and image. “Thumbnail” In the example here, I have 5 ‘Thumbnails’. I have 5 Custom Fields added to the post. Each has a different Image/Image Path assigned to it. When it display, it is only showing the first Image/Image Path 5 different times.

    Here is my code. I know this is probably something simple that I am overlooking.

    [Code moderated as per the Forum Rules. Please use the pastebin]

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

    (@doubleudet)

    Sorry, I’m confused… How come I see some people pasting code? Just curious. I don’t care, just want an even playing field…

    Anyhoo, my question. Using Brave-Zeenat theme.

    I am using Custom Fields to define and image. “Thumbnail” In the example here, I have 5 ‘Thumbnails’. I have 5 Custom Fields added to the post. Each has a different Image/Image Path assigned to it. When it display, it is only showing the first Image/Image Path 5 different times.

    Here is my code (Pastebin as requested). I know this is probably something simple that I am overlooking.

    http://pastebin.com/GhM80biw

    As far as I can see you’re calling the SAME custom field over and over. Check the NAMES of your custom fields and call them by their different names.

    Thread Starter doubleudet

    (@doubleudet)

    D’oh! You’re right. My thought was that the PHP code was taking care of dynamically numbering the Custom filed names. Making the simple change you suggested did the trick. Brave-Zeenat is a great theme. The documentation is kind of lacking though.

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

The topic ‘Display multiple Images using Custom Fields’ is closed to new replies.