We'd really like to use this on our sites, but our pictures get a lot of comments and it would be essential to have some kind of link in the overlay that takes you to the permalink #comments section. Would this be difficult to add?

Comments

Grienauer’s picture

i'd like to have this feature too!

heshanlk’s picture

i wld like to hve this , please work on this, we have comments and fivestar rating, can we have ratings on the image it self, that would be more beneficial.

heshanlk’s picture

Version: 4.7.x-1.x-dev » 5.x-2.1

for me it was on the v5

heshanlk’s picture

Status: Active » Needs review

I fixed this, please update thee code at the thickbo.js and add two hidden fields

<input id='hnodeid' type='hidden' value='$node->nid'/>
<input id='huserid' type='hidden' value='$node->uid'/>
        // End Resizing 
	//added hidden filed to get node id document.getElementById('hnodeid').value
	//added hidden filed to get user id document.getElementById('huserid').value

        TB_WIDTH = imageWidth < 320 ? 350 : imageWidth + 30;
        TB_HEIGHT = imageHeight + 60;
        $('#TB_window').append('<a href="" id="TB_ImageOff" title="' + settings.next_close + '"><img id="TB_Image" src="' + url + '" width="' + imageWidth + '" height="' + imageHeight + '" alt="' + caption + '" /></a> <div id="TB_caption">' + caption + " | Wow! nice nice picture, " + "<a href='node/" +document.getElementById('hnodeid').value + "'>click to add Comment/Vote?</a>" + " | Who uploaded?" + "<a href='users/" +document.getElementById('huserid').value + "'>  Click here</a>" + '<div id="TB_secondLine">' + TB_imageCount + TB_PrevHTML + TB_NextHTML + '</div></div><div id="TB_closeWindow"><a href="#" id="TB_closeWindowButton" title="' + settings.close + '">' + settings.close + '</a> ' + settings.esc_key + '</div>');


achernen’s picture

Version: 5.x-2.1 » 6.x-1.5
Status: Needs review » Active

any ideas for 6.x-1.5?