MrMaz/infinity — Issue #7: Example code for Upload option not showing anymore
Author: BoweFrankema
Created: 2012-02-01 14:04:54+00:00
State: open

The following code seems to be broken in the latest version, preventing the example code for uploaded images to be shown:

Echo option as image URL
<img src="<?php echo infinity_option_image_url( 'component()->name ?>' ); ?>">

Removing the if statement fixes it (duh) but also shows the code example everywhere :-)