jqueryimagethickboxshadowbox

Thickbox jQuery


I have a jQuerycode to preview the pictures in my website, but I do not know the difference between (single.jpg) and (single_t.jpg) in my code. Here is my code:

<a href="images/single.jpg" title="add a caption to title attribute / or leave blank" class="thickbox"><img src="images/single_t.jpg" alt="Single Image"/></a>

can you help me?


Solution

  • single.jpg in this case is the main image file with normal resolution which will normally require more time to load

    single_t.jpg in this case is the thumbnail (t is used short for thumbnail) of the file with smaller size. Therefore, it would load faster.