Hey Guys,
I currently use timthumb and custom fields to place images into my articles, which works completely fine unless i am doing a video post instead of an article.
In a video post, i wouldn't insert an image, which is leaving the post with an 'image not found' icon. So my question is this. Is it possible to use an if statement based on whether a custom field is attached to a post or not.
For example, if there is a custom field with the name 'thumbnail', display XXX output, if the post doesn't have a custom field with the name 'thumbnail', display AAA output.
Any advice would be greatly appreciated.
Andrew