I am trying to make a blog post show a picture using the Field extension. I have had various problems.
Sometimes the entry only shows the file mae in text format in the Publish preview
One time I succeeded in getting the picture to show in the preview (I don’t what I did differently from number 1 though) – BUT the output on the live page page shows me this:
Cock and Sail Tournament
image https://ellislab.com/asset/images/team-photo/cockandsail-logo-400.jpg" alt="Original Image" hspace="8" align="right" >
Cock and Sail Sportfishing Tournament in Golfito Costa Rica December 4, 5, 6 and 7 2009
This is the tag I am using:
{exp:weblog:entries weblog="tournament" limit="1"}
<h3>{title}</h3>
{mainPic}
{brief}
{/exp:weblog:entries}
Here are screenshots that show wht I see in the Publish preview and what I am trying to make EE do.
In the Preview, The problem is that the path to the image shows up in the text.
The weblog:entries tag inserted into the index template gives me the results I describe in my original post, the second attached screenshot shows what I want it to end up looking like from within a post on the publish page.
wellll… I got hip to changing to PHP5 and now I can use nGen (with FieldFrame)… and that just went ahead and WORKED!
The code I have on my page (just starting here…) brings in a title, summary and picture, with the pic set to right align… just a kind of normal column entry. Client editable with no coding… 😊
{exp:weblog:entries weblog="weblog_name" limit="1"}
<h3>{title}</h3>
{summary}
{field_name}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.