codeigniter - Pyrocms: display an image in a page -


in pyrocms admin, have created image field under default.i pull field in page.

currently code looks this

{{ if page:slug == "contact" }} <img src="{{  template:contact_main_image:img}}"> //the field name contact_main_image {{ endif }} 

but can't see image.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -