We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

no picture shows up.

Development and Programming

Terry Burke's avatar
Terry Burke
67 posts
16 years ago
Terry Burke's avatar Terry Burke

I am trying to make a blog post show a picture using the Field extension. I have had various problems.

  1. Sometimes the entry only shows the file mae in text format in the Publish preview

  2. 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}
       
Terry Burke's avatar
Terry Burke
67 posts
16 years ago
Terry Burke's avatar Terry Burke

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.

       
Terry Burke's avatar
Terry Burke
67 posts
16 years ago
Terry Burke's avatar Terry Burke

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}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.