jaredstenquist
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: Facebook Recommendation iFrame BorderForum: Plugins
In reply to: [jQuery Colorbox] [Plugin: jQuery Colorbox] Two clicks to close?I am having the same issue, except for me, the image changes from being centered to being left aligned in the box. Wish I knew this would happen before I upgraded to WordPress 3.1
Forum: Plugins
In reply to: [Plugin: jQuery Colorbox] Using Colorbox to open image linksImportant Follow Up
It it not neccessary to have the links to the additional photos wrapped around the actual image you are linking to. Doing this will actually load every image in the background on pageload. Not good!
Instead, just use a single 1 pixel spacer .gif image.
<a href="<?=get_bloginfo('siteurl');?>/images/photo2.jpg" title="image caption here"><img src="<?=get_bloginfo('siteurl');?>/images/spacer.gif" width="1" height="1" class="colorbox-1" border="0" /></a>Forum: Plugins
In reply to: [Plugin: jQuery Colorbox] Using Colorbox to open image linksI have got this working using the width=”0″ and height=”0″ hack. I have a single thumbnail that starts a gallery up of 20 images.
Initial thumbnail in the page content
<a href="<?=get_bloginfo('siteurl');?>/images/photo1.jpg" title="image caption here"> <img src="<?=get_bloginfo('siteurl');?>/images/photo1_thumb.jpg" alt="Click for Gallery" border="0" class="colorbox-1" /> </a>For each additional photo (i put them right before the </body> tag.
<a href="<?=get_bloginfo('siteurl');?>/images/photo2.jpg" title="image caption here"><img src="<?=get_bloginfo('siteurl');?>/images/photo2.jpg" width="0" height="0" class="colorbox-1" /></a>
Viewing 4 replies - 1 through 4 (of 4 total)