Member
Member
basetta   05-05-2006, 18:22
#1

I mean a lot of users are askin me to "highlight" the images with comments in the thumbnails gallery.. is it possible ? or to show how many comments an image got.
this is my gallery http://thisisgenova.com/zenphoto/milkLASTparty2006/ if you wanna check
HELP!

Developer
Developer
trisweb   05-05-2006, 22:53
#2

You can do that in the theme (album.php for that page)... the function is getCommentCount() and it returns the number of coments on the image. So you'd want to do something like,

``

Or just show the comment count, whatever you like.

Member
Member
basetta   08-05-2006, 10:36
#3

great! i'm trying to embed that right now! ill let u know

Member
Member
basetta   08-05-2006, 10:52
#4

hum,. i tried but I got a php error.. how do you highlight the image ? I can't code.. help!
Is there a way to write the CommentCount on the mouse over for the thumbnail ?

thanx!

Developer
Developer
trisweb   08-05-2006, 20:07
#5

Ah, you can't code...... you didn't say that... ;-)

Well, you have to code.... and the way you highlight it would be to set a "style" attribute to one of the divs with a different background-color property. Like, ` ` but only do that if the above conditional is true.

Sorry I can't help you more, don't have time at the moment.

Member
Member
basetta   09-05-2006, 20:29
#6

ok, i'll try and see what happen... thanx!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.