default userpic

How does one get the image ABOVE the Entry Title?

Vote 0 Votes

See www.japanesefoodreport.com

How'd they do that where the images are above the Entry Title, and also still retaining the hyperlink from the Entry Title to the individual page.

I've been trying to figure this out for at least five years, and this is the first time I've seen a website with it incorporated. Maybe I need to get out in the MT world more often, though I have posted this question before.

6 Replies

| Add a Reply
  • Besides the fact they're using custom templates? I mean...the image is there because they told it to be. I'm not sure I really understand the question.

  • How do you 'tell' it to do that? I haven't found any examples for something that's a standard format for the most widely read news sites on the net, like CNN. This is the same problem stated here 3 years ago.

    (ps - There's no way to 'Submit' after 'Preview' as far as I can see - I thought I had posted this yesterday.)

  • You'll have to ask them, if you want the precise method. I can give you three off the top of my head: The image could be specified in the Keywords(or some other) field. It could be a custom field. If the images are of a standard size, it could theoretically just be in the entry body and positioned with CSS(though this is unlikely. For the first two, the image would be accessible with a separate tag(eg. MTEntryKeywords), and you just put it before the title. Whatever it takes.

  • (As a sidenote, bugs go here not in-line with discussion, please.)

  • @Tux Kapono » In order to get an image above the post title do the following:

    Using the Keywords field in MTOS:
    1. Upload an image to your server.

      Let's say that you upload the image sushi.jpg to a directory called post_images in the webroot of your site so the image is accessible here: www.site.com/post_images/sushi.jpg

    2. Edit your Entry archive template and add the following tag where you want the image to appear:

      <img src="<$mt:EntryKeywords$>" alt="<$mt:EntryKeywords$>" />
      

      (You may want to add a width, height, or other formatting. You may also desire to place this in the Entry Detail template module if you are using MT4.0 or 4.1)

    3. Edit an entry and in the keywords field enter sushi.jpg

    4. Save & View the entry which should now be displaying the image

    That'll give you a good idea of how to do it. If you'd like an example using Custom Fields in the ProPack, reply and I'll add example here.

    Once you implement this, reply with a link to your site! Cheers

  • how do you get a little picture in/on the title bar like google for example??

Add a Reply

Forum Groups