Hello i have checked all options in node display to show the images, but whe the image shows up, in the body the first word appears the taxonomy tag, i dont know how to hide it.

Comments

thepanz’s picture

Do you mean that taxonomy-images are displayed before your node body text?
You can use Taxonomy-Image "weight" to fix display order inside node-content.

nancydru’s picture

Status: Active » Fixed

Or you might mean the setting "Link style" which can be used to omit the term name.

etion’s picture

Tnahk you i disable Link displayed Taxonomy Image to taxonomy/term/n page and the option dissapears, I think this its a bug.

Thank you in advance

nancydru’s picture

Status: Fixed » Postponed (maintainer needs more info)

Which option disappears? I think I'm not understanding you. I don't have any javascript in this module to hide options and I don't see any options disappearing.

thepanz’s picture

@NancyDru: I'm with you in this miss-understanding issue :)

@etion: can you explain better your issue, maybe you can provide a small screenshot about your "disappeared option"?

Anonymous’s picture

I think I know what he is trying to say because I have the same issue. I have "Image only" selected under Link Style, but my taxonomy term still appears below the image. Here's an example:

http://antiorange.dawgtoons.com/news/1351

As you can see, "Bulldog News" shows up right below the image and runs into the article text (unless I start the article with a new paragraph markup).

When you uncheck "Link displayed Taxonomy Image to taxonomy/term/n page" as an option, the text goes away and just displays the image.

If I understand that setting correctly, if I have "image only" selected, the text "Bulldog News" should not show up.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

Changed status to active (I'm new to Drupal so I hope I'm doing this correctly). Here's my previous comment:

I think I know what he is trying to say because I have the same issue. I have "Image only" selected under Link Style, but my taxonomy term still appears below the image. Here's an example:

http://antiorange.dawgtoons.com/news/1351

As you can see, "Bulldog News" shows up right below the image and runs into the article text (unless I start the article with a new paragraph markup).

When you uncheck "Link displayed Taxonomy Image to taxonomy/term/n page" as an option, the text goes away and just displays the image.

If I understand that setting correctly, if I have "image only" selected, the text "Bulldog News" should not show up.

thepanz’s picture

@ToonDawg: remeber to don't double post your comment when you change the Issue details :)

Using Node-Display sub-module I don't have the term name displayed: I've got only the image.
Try to look at your page HTML code, and post what you get for your term and image display.

Anonymous’s picture

Sorry about that. ;) This is the first time I've used the Drupal support system, so hopefully I'll get the hang of it soon!

I'm not familiar with the Node-Display sub-module. I am just using taxonomy image with the standard Story node right now.

I'm using the aboutpeople theme btw if that makes a difference. Here's my code:

<div class="content"><a href="/taxonomy/term/1" class="taxonomy_image_links"><div class="taxonomy_image_wrapper"><img src="http://antiorange.dawgtoons.com/sites/default/files/category_pictures/ugafootball.gif" alt="UGA Football" title="UGA Football" width="250" height="18"></div></a>UGA Football<!-- google_ad_section_start --><p>From GeorgiaDogs.com: ATHENS, Ga. --- Junior college kicker Brandon Bogotay has signed a letter of intent with the University of Georgia football team according to an announcement Thursday by Bulldog head coach Mark Richt.

http://antiorange.dawgtoons.com/node/1573

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I believe you are using the TI Link Alter contrib even though you didn't mark the component as that.

I cannot reproduce this problem on my system, which is the latest -dev code. Please try the -dev version on your test site.

Johnson2’s picture

I think it is a bug. BTW I fixed it somehow... and don't blame me for anything because I'm not as old as you all are.. XD

Go here- /sites/all/modules/taxonomy_image/contributed/taxonomy_image_node_display/

OPEN- taxonomy_image_node_display.module

FIND- Theming function to allow overrides at theme level

/*
 * Theming function to allow overrides at theme level
 */
function theme_taxonomy_image_display($image, $term) {
  return l($image, 'taxonomy/term/'. $term->tid, array('html' => TRUE, 'attributes' => array('class' => 'taxonomy_image_links'))) . $term->name;
}

Remove . $term->name;

so the final code would be the following:

/*
 * Theming function to allow overrides at theme level
 */
function theme_taxonomy_image_display($image, $term) {
  return l($image, 'taxonomy/term/'. $term->tid, array('html' => TRUE, 'attributes' => array('class' => 'taxonomy_image_links')));
}

So far working good for me.

nancydru’s picture

The current version properly checks the setting for which way to display it:

function theme_taxonomy_image_display($image, $term) {
  $name = variable_get('taxonomy_image_node_show_name', TRUE) ? taxonomy_image_tt("taxonomy:term:$term->tid:name", $term->name) : NULL;
  return l($image, 'taxonomy/term/'. $term->tid, array('html' => TRUE, 'attributes' => array('class' => 'taxonomy-image-links'))) . $name;
}

Goodness, when I was 13 what few computers there were filled huge rooms and were probably not as powerful as today's hand held calculators. The first mainframe I worked on had 192kb (32K words) and a huge 5MB disk. I wonder what they will be like when you're as old as I. Welcome to Drupal. I hope you apply for the GSOC when you're a few years older.