hi ,all

I'll use the main content types that the "image node" does my website,
having of the article have a thumbnail image, having of the article have no thumbnail image,

problem BE:If submit an article which has no thumbnail image, The Latest images block has no display (don't display nothingness), how make to submit an article without thumbnail image, does Latest images block can display an thumbnail image of article which has a thumbnail image in a term (In before submit of the article)?

Thanks very much!

Comments

Jeff Burnz’s picture

Do you mean, how to display a default thumbnail (or icon) for taxonomy term?

Difficult to understand what your asking sorry, can you explain better.

I take it English is not your first language so just do your best.

nanbeiyu’s picture

jmburnz,Thank you!

sorry, my Englishi is bad :(

Now,I give examples a problem of explaining the up now.

1. views module + image module ----->display Latest image of Term A.

2. The Term A has already had three articles:

a_3 (Have no a thumbnail)

a_2 (Have no a thumbnail)

a_1 (Have a thumbnail image)

3.Now,I submit a new article that have no a thumbnail,Latest image block has no thumbnail display.

4.How display thumbnail of a_1 at Latest image block?

-----------------------------------------------------------

/**
* Fetch a random N image(s) - optionally from a given term.
*/
function image_get_random($count = 1, $tid = 0)

Modification the code of image module,select a specific term to display the Latest image.

example:

/**
* Fetch a random N image(s) - optionally from a given term.
*/
function image_get_random($count = 1, $tid = 3)

Thank you very much!!!

nanbeiyu’s picture

Someone help me! Thanks!