Slimbox title link problem

77 views
Skip to first unread message

Simon

unread,
May 21, 2012, 4:31:28 AM5/21/12
to Slimbox
I can't seem to figure this out!

Here's the code I'm using to create the slimbox function:

<a title="Beaufort Grand" href="http://www.michael-tyler.co.uk/images/
beaufort/beaufort2.jpg" rel="lightbox-beaufort"><img title="Beaufort
Grand" src="http://www.michael-tyler.co.uk/images/beaufort/
beaufort2.jpg" alt="" /></a>

Which appears on this page: http://www.michael-tyler.co.uk/?page_id=67

When you click on the image, the slimbox function occurs, but the
image title in the slimbox is itself a link to the image itself,
rather than being a static non-linking title.

Can anyone explain what I've done wrong?

Thanks!

Tom2708

unread,
Jun 20, 2012, 4:57:13 PM6/20/12
to slimbox...@googlegroups.com
Hi Simon,

Try changing this:


<img title="Beaufort
Grand" src="http://www.michael-tyler.co.uk/images/beaufort/
beaufort2.jpg" alt="" />

to this:

<img src="http://www.michael-tyler.co.uk/images/beaufort/
beaufort2.jpg" alt="Beaufort Grand" />

Not 100% sure but I don't believe "title" is an image tag attribute and that may be causing the problem.

Good Luck!
Reply all
Reply to author
Forward
0 new messages