Southern Listeners

Loading
Thanks to Greenlava for this cool gadget. Get yours here

Wednesday, November 3, 2010

Blogger Thumbnail Gallery

I have been wanting to post a tutorial on this for quite some time now. In this tutorial, you will learn how to arrange images in a thumbnail-gallery-like-format. That means, your images will be close to each other, making a 2x2 or any other dimension that you define. Here's an example of what you will achieve:


I will be using the above four images in this simple tutorial.

Step 1:

First, you gotta upload the pictures that you want to use using Compose Mode. Use Blogger's updated editor if you want to follow this tutorial, although the idea works just fine with any editor. Next, click on the image once, and click the left most option to make your image small. Refer to the image below:


Doing this will make your image small. Smaller image allows more images to be added in a row. Say you want 4x2 gallery, your individual image size must be really small. You gotta do the maths and decrease your image's width accordingly. You can make your image even smaller by adjusting its width in Edit HTML mode, but that's tangential to this tutorial so I'll cover that on another tutorial if I care enough about that click here to find out how to do it.

Step 2:

We will be styling our images in this step. Once you have completed the previous step, locate the HTML portion of the images by clicking on Edit HTML. Here's my HTML portion for the above four images:
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s1600/P1010353_edit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s200/P1010353_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s1600/P1010354_edit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s200/P1010354_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s1600/P1010363_edit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="150" src="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s200/P1010363_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s1600/P1010364_edit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" height="150" src="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s200/P1010364_edit.JPG" width="200" />
</a></div>
Nothing special above, it's just some normal unedited HTML codes for some uploaded images. So to prep it for our gallery, we want to make one minor adjustment. See the highlighted lines above, 2, 7, 12 and 17. Replace the part that says style="margin-left: 1em; margin-right: 1em;" with style="margin-left: 3px;"

My modified code looks like this now:
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s1600/P1010353_edit.JPG" imageanchor="1" style="margin-left: 3px;">
<img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s200/P1010353_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s1600/P1010354_edit.JPG" imageanchor="1" style="margin-left: 3px;">
<img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s200/P1010354_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s1600/P1010363_edit.JPG" imageanchor="1" style="margin-left: 3px;">
<img border="0" height="150" src="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s200/P1010363_edit.JPG" width="200" />
</a></div>

<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s1600/P1010364_edit.JPG" imageanchor="1" style="margin-left: 3px;">
<img border="0" height="150" src="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s200/P1010364_edit.JPG" width="200" />
</a></div>

Step 3:


Now that we have prepared our image codes, it's time to create a skeleton for our table. Like I said before, we will be creating a 2x2 table. The following is the HTML to create a basic table.
<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>Image1</td><td>Image2</td>
</tr>
<tr>
<td>Image 3</td><td>Image 4</td>
</tr>
</table>
Just a quick example, the skeleton HTML for a 3x2 table would look like this:
<table cellpadding="0" cellspacing="0" align="center">
<tr>
<td>Image1</td><td>Image2</td><td>Image3</td>
</tr>
<tr>
<td>Image4</td><td>Image5</td><td>Image6</td>
</tr>
</table>

Step 4:

What is there left to do? Take the resultant codes from Step 2 and insert them into the table skeleton of Step 3. We have four HTML portions for each image. Copy the first one, and replace the text 'Image1'. Do this for the other three as well. My final code looks like this:
<table cellpadding="0" cellspacing="0" align="center" >
<tr>
<td><div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s1600/P1010353_edit.JPG" imageanchor="1" style="margin-left: 3px;"><img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZtoNLhTI/AAAAAAAAB-Q/fZbsjoUfwIU/s200/P1010353_edit.JPG" width="200" /></a></div></td><td><div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s1600/P1010354_edit.JPG" imageanchor="1" style="margin-left: 3px;"><img border="0" height="150" src="http://4.bp.blogspot.com/_VZprIDHV4-Q/TNCZvUb3XeI/AAAAAAAAB-U/lAFlF5ESehs/s200/P1010354_edit.JPG" width="200" /></a></div></td>
</tr>
<tr>
<td><div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s1600/P1010363_edit.JPG" imageanchor="1" style="margin-left: 3px;"><img border="0" height="150" src="http://2.bp.blogspot.com/_VZprIDHV4-Q/TNCZwnNCpGI/AAAAAAAAB-Y/mHXargRZh2Q/s200/P1010363_edit.JPG" width="200" /></a></div></td><td><div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s1600/P1010364_edit.JPG" imageanchor="1" style="margin-left: 3px;"><img border="0" height="150" src="http://3.bp.blogspot.com/_VZprIDHV4-Q/TNCZybgeNeI/AAAAAAAAB-c/QlCqqlWsvqc/s200/P1010364_edit.JPG" width="200" /></a></div></td>
</tr>
</table>
Note: If there seems to be extra spacing between your images, make sure you did not include any line breaks in your image's HTML (pressing enter between tags will introduce a line break).

And there you have it, your very own cute thumbnail galleries.

88 comments:

  1. Again the "Affiliates". (I previously commented on the manual resizing tutorial.)

    Q: If I need/want to add more thumbnails, do I have to edit/add to the skeleton html again? Or can I just make the skeleton entirely and then add the images as they come? Will it disrupt the look of the page if I do it before hand?

    Thanks Yoboy. You really are the Blog Saint. ~ Raina

    ReplyDelete
  2. RaindropSoup: HTML is very flexible. If you decide to add a new row to your existing table you can edit it whenever you want. Just use <tr></tr> to add a new row, and <td></td> to add a new column. You might want to check 'colspan' and 'rowspan' attributes if you want to merge two or more cells. There are hundreds (if not thousands) of tutorials out there when it comes to HTML.

    Alternatively, you can create a skeleton first. You're not 'obligated' to insert an element into it. The spot will be left blank and will not take any space as long as the whole row is empty. Try this for yourself. Copy the HTML that I have in my last step, paste it in Edit HTML mode, and delete the HTML portion in between any one of the <td></td> tags. Personally, I prefer this method because it is more tidy and you'll be able to see the skeleton of your table clearly before adding an element into it.

    Whether or not it will take space, it depends. Consider the following case for example:

    <table cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td>Image1</td><td>Image2</td>
    </tr>
    <tr>
    <td></td><td></td>
    </tr>
    </table>

    I have 2x2 table up there, so there are 4 cells. But the bottom two cells will not take any space because there is no elements in that row. Consider the same structure below:

    <table cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td>Image1</td><td>Image2</td>
    </tr>
    <tr>
    <td>Image 3</td><td></td>
    </tr>
    </table>

    In this case, the second row has one element in it. The [2,1] cell will take some space, but the last cell [2,2] will not. Nevertheless, a new line has been spanned. The bottomline is, if your row has no elements in it, it will be as good as nothing even if you have defined it in the table skeleton.

    ReplyDelete
    Replies
    1. The first 2 tables look exactly the same to me - I think you've made a mistake...?

      Delete
    2. The second row in the second table has an element, the one in the first table does not.

      Delete
  3. For some reason, I had to redo two pages of codes with the 'jump'. Mozilla was saying it couldn't open that URL. So I was afraid to try out any part of a tutorial.

    Thanks again, Yoboy. Oh, I like that you put the tutorials on the left column =)

    ReplyDelete
  4. I'm using this on my blog and I think it looks great, definitely tons better than how it looked before. Thank you for your tutorial! I know zip about this stuff but was able to make a pretty page just with this information you've provided. Thank you!

    ReplyDelete
  5. @Mike + Desi: I was expecting for a 'but' somewhere in your comment. Glad you didn't leave any. You'll have more fun once you get the hang of it, trust me. Cheers and God bless.

    ReplyDelete
  6. Great tutorial! What if I want to remove the individual borders around the pictures and instead have all the pictures in one large border?

    ReplyDelete
  7. Thanks this was a lot of help! Is there a way to do this with adding captions for each pic?

    Thanks!!

    ~ M

    ReplyDelete
  8. @1000 + Books to Read: Good question. And yes you can. The only difference will be the code in step 2. First, add your captions, and then proceed with this tutorial as usual. Your code in step 2 will look something like this instead:

    <table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
    <tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-IxiWPNd_oY4/TP-xMU_1LWI/AAAAAAAACT4/5gJ3SHMRr8U/s1600/banner.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="http://4.bp.blogspot.com/-IxiWPNd_oY4/TP-xMU_1LWI/AAAAAAAACT4/5gJ3SHMRr8U/s1600/banner.png" /></a></td></tr>
    <tr><td class="tr-caption" style="text-align: center;">Cheers</td></tr>
    </tbody></table>

    <table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
    <tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-IxiWPNd_oY4/TP-xMU_1LWI/AAAAAAAACT4/5gJ3SHMRr8U/s1600/banner.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="http://4.bp.blogspot.com/-IxiWPNd_oY4/TP-xMU_1LWI/AAAAAAAACT4/5gJ3SHMRr8U/s1600/banner.png" /></a></td></tr>
    <tr><td class="tr-caption" style="text-align: center;">Cheers</td></tr>
    </tbody></table>

    Cheers.

    ReplyDelete
  9. @Kristine: The border is not part of the tweak, it comes with the template. Use the contact form and get in touch with me, and I'll assist you in removing the border from your template. Cheers.

    ReplyDelete
  10. You have just MADE my day. Been trying to do this for such a long time. Now it works. Thank you so so much.

    http://clairebutlerphoto.blogspot.com

    ReplyDelete
  11. @Claire: Visited your blog, nice work :) Good job.

    ReplyDelete
  12. Thank you! This helped me a lot.

    ReplyDelete
  13. @Melissa: Happy to help, as always.

    ReplyDelete
  14. Help! I can't get past step #2. This is the code I have. I don't see the same code that you have for the search/replace.

    I have this:
    style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"

    Do I replace that?

    ReplyDelete
  15. @Jenny: Looks like your image has been left-aligned. And yes, replace that line.

    ReplyDelete
  16. Thanks so much! It worked perfectly. I have one more question. There's a line around each picture that I do not want to have. Do you know how to remove it or am I stuck with it?

    I made pictures with rounded boxes which is why I don't want the square box around the rounded box.

    http://handmadebyjt.blogspot.com/p/my-shop.html

    ReplyDelete
  17. @Jenny: We call it the 'shadow'. I find it annoying. Nothing is wrong with your image. Your template applies shadows to images automatically. That is why you're seeing the shadow there. You have two options now:

    1) You can remove the 'shadowing' completely off your blog. See the tutorial below:

    Remove Blogger Picture Shadow and Border

    2)You can keep the 'shadow' feature, and just remove the shadows from these 6 images. It is more tedious. Go to Dashboard - Design - Edit HTML - Download Full Template (for backup purposes) - Find for </b:skin> - Paste the following directly below </b:skin> -

    <b:if cond='data:blog.url == "http://handmadebyjt.blogspot.com/p/my-shop.html"'>
    <style>
    .post-body img, .post-body .tr-caption-container{
    padding: none !important;
    border: none !important;
    background: none !important;
    -moz-box-shadow: 0px 0px 0px transparent !important;
    -webkit-box-shadow: 0px 0px 0px transparent !important;
    box-shadow: 0px 0px 0px transparent !important;
    }
    </style>
    </b:if>

    ReplyDelete
  18. This was very helpful. I have a new problem though. Sometimes my pictures are not aligned in my 1 x 2 box. See this post: http://handmadebyjt.blogspot.com/2011/10/my-city-ontario-science-centre.html

    Do you know what causes this?

    ReplyDelete
  19. @Jenny: Make sure you have no line breaks in your HTML code. A line break doesn't have to be an empty line. It could be a simple 'new line'. Just go back to the code, and make sure the codes act like one continuous line, instead of few separate lines. If it doesn't solve the problem, use the 'Ask A Question' page to create a new question, and post your HTML in there. I'll try to see what's wrong.

    ReplyDelete
  20. Thank you so much! I went back to fiddle with it and I think I fixed it because I don't see it any more. Many thanks!!!!

    ReplyDelete
  21. @Jenny: Glad you got them fixed. Cheers.

    ReplyDelete
  22. Hi YoboY, just curious... why do we need to change the style to style="margin-left: 3px;" By accident, I forgot to do that step but it still turned out great. Thanks, J

    ReplyDelete
  23. @Jenny: Removing the margin will bring the pictures closer with each other = more space to make your images larger.

    ReplyDelete
  24. HIIIII YOBOY...

    How can i create more photo gallaries in my blog.
    I want to create photo gallary for different diffrent evernts.

    for example : marriage photo, family photos, office events photo etc.

    I want to create photo gallery where i can store separate photos as per the events.......

    Thanks & Regards,
    AMOL

    ReplyDelete
  25. HHIIIIII YOBOY.........

    I have to create photo gallery in my blog....

    In that gallery i have to make different different albums.....
    like marrieage album...
    office event album...
    family album...
    so how can i create this different album in the gallery pls tell me

    ReplyDelete
  26. @amol: You can create separate pages for your albums. You can create up to 20 pages. To create a page, go to Dashboard - Pages. To create the gallery, just refer to the tweak in this page :)

    Cheers.

    ReplyDelete
  27. you so very nice you are my inspiration Keep Blogging this is my blog http://arnoldfcerdena.blogspot.com/

    ReplyDelete
  28. @Hunnyu: Glad my posts inspired you :) Happy blogging..

    ReplyDelete
  29. Hi Yoboy... Just one more question re: my post from October 2011. If I want to remove the shadow pic from more than one page, how do I enter more than 1 URL to the code you gave me? The code was a conditional i.e. if cond = my page, then....

    Thanks in advance!
    Jenny

    ReplyDelete
  30. Hi YoboY, re: your response on 10/1/2011 to my question, how do I add another blogger page to the code you gave me? I want to remove the lines around the pictures for a couple more pages.

    Thanks in advance!
    Jenny

    ReplyDelete
  31. Hi YoboY, re: your response on 10/1/2011 to my question, how do I add another blogger page to the code you gave me? I want to remove the lines around the pictures for a couple more pages.

    Thanks in advance!
    Jenny

    ReplyDelete
  32. @Jenny: Sorry for my late reply. If you have more than 1 pages, simply copy and paste the same code again, but change the address in the code.

    But I've just thought of another way, which is much easier. Before you place your images into the table, make a slight change to it. You need to change the word 'separator' to an ID that I'm about to give. See the link below. Skip Step 2, and follow all other steps. Doing this right will get rid of borders/shadows from any single image. Do this for all the images that you want to be borderless and shadowless.

    Removing border/shadow from any single image

    ReplyDelete
  33. ok I'm slow and new to this. Where do I post the knew table code?

    ReplyDelete
    Replies
    1. When you are composing your post, you can switch between two different editor modes: Compose mode and HTML mode. All the HTML should go in HTML mode :)

      Delete
  34. Hi Yoboy, wondering if you can help. Could you please take a look at this link: http://handmadebyjt.blogspot.com/p/recipes.html

    I did a 3 x 2 table but the spacing between the first line and 2nd line under the title "Sweet Stuff" seems to be extra large. Do you know how to fix it? I can't seem to see what is causing the gap. Thank you so much!

    ReplyDelete
    Replies
    1. Hi Jenny. All 5 of your images (under 'Sweet Stuffs') seem to have a bottom margin associated to them. You gotta remove these margins. Edit this 3x2 table, find and delete the following tags:

      margin-bottom: 1em;

      You'll find 5 of them, one for each image. Delete all 5. Here's how it suppose to look like (feel free to use this if you want):

      Jenny's table code

      Delete
  35. Thank you so much YoboY! I don't know I ended up with a margin underneath but that solved my problem. Once again, you saved the day!!! Thanks again so much!

    ReplyDelete
    Replies
    1. No problem at all. Enjoy your weekend :)

      Delete
  36. Hi YoBoy, I hope you had a good weekend too! One more thing I wanted to ask you about... I noticed that no matter how many times I press "enter", I never get a space line between the "Sweet Stuff" pics and the words "Frozen Treats". Do you mind taking one more peek at the page? http://handmadebyjt.blogspot.com/p/recipes.html

    ReplyDelete
    Replies
    1. That is weird. When I analyse your raw code, I do see line breaks in there, but it doesn't show up in the actual page. If you don't mind, can I take a look at your table code? Edit this post - switch to HTML mode - copy your post code (everything in there) - paste it in www.pastebin.com, and get back to me with the link. I'll try to replicate the issue.

      Delete
    2. Hi YoBoy, thanks for taking a look at it. Here is the link from pastebin: http://pastebin.com/npMbs8xV

      Sorry it's a bit of a mess.

      Thanks again!

      Delete
    3. Jenny,

      Here's what you can do. Change the following line:

      <table align="left" cellpadding="0" cellspacing="0">

      Into this:

      <table align="left" cellpadding="0" cellspacing="0" style="margin-bottom: 50px;">

      You have two have them, change both. Change the value 50px in the new line to adjust the spacing between the tables.

      Delete
  37. Thank you, thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you,thank you, thank you!

    I have been looking for something like this and no one could help me. Thank you soooo much!

    ReplyDelete
  38. I wanted to say Thank you for providing this tutorial. I have keep coming back to it everytime I need to add a new table to my blog. Feel free to check it out and let me know what you think

    thanks

    http://motivatedmommyoftwo.blogspot.com/

    ReplyDelete
    Replies
    1. Hi Shirley,

      Adorable!

      And here's a handy trick. If you're a frequent user of HTML tables, you can place the code in your post's template so that the code will be there each time you compose a new post. I have one in my template, and when I don't need it, I'd just delete the code and publish the post without it. If you want to place the code in your post template, go to Dashboard - Settings - Posts and Comments - Post Template - Add - paste the code for tables there. Convenient things are fun :P

      Cheers!
      Yoga..

      Delete
    2. Thank you so much for the tip, definitively going to use it. I tend to come back to this post for reference.

      Delete
  39. So simple but works so well! thank you very much!

    ReplyDelete
  40. Thank you so much for this great tutorial! I found it looking thru your tutorial list while I am waiting to work out posting and getting answers to my other newbie questions. I just tried out this tutorial on my practice blog, and your tip about the spaces was very helpful also because my thumbnails were not evenly spaced. But I was able to figure out what the HTML code for the line breaks is and I found two - deleted them and my array is perfect! Now I will know what to do when I am ready with photos to post this way on my "real" blog!

    ReplyDelete
    Replies
    1. Ah, sounds like you're getting the hang of it. You're gonna be a self-taught professional in no time :)

      Delete
  41. Yoga, thanks for the awesome post. It's been invaluable (along with many others of yours) in making my blog a little more how I want it.

    I shot you a question through the ask a question page cos there's something I still can't work out re line spacing.

    Just wanted to say thanks in advance. Awesome site.

    ReplyDelete
    Replies
    1. Hi Michael,

      Thanks! I've replied you at the forum.

      Cheers :)

      Delete
  42. I'm pretty sure that this post added years back onto my life! Thank you!
    the other day I forgot to do this: "Replace the part that says style="margin-left: 1em; margin-right: 1em;" with style="margin-left: 3px;"" and from what I could tell, nothing was different, so what does this step do?
    Thanks!

    ReplyDelete
    Replies
    1. It's supposed to remove some extra padding between the images to make your gallery look a little bit more neat. But if you're not seeing any difference, you probably already have an overriding code somewhere in your template that's doing a similar negating job :)

      Cheers..

      Delete
  43. Hello hello! Thank you SO much for this post. I think it saved my life. I relaized the other day that I forgot to replace "style="margin-left: 1em; margin-right: 1em;" with style="margin-left: 3px;"" but I didn't notice any problems with forgetting to do that. So what exactly does that step do?
    Thanks again!

    ReplyDelete
    Replies
    1. It's supposed to remove some extra padding between the images to make your gallery look a little bit more neat. But if you're not seeing any difference, you probably already have an overriding code somewhere in your template that's doing a similar negating job :)

      Cheers..

      Delete
  44. Hi Yoboy

    I'm trying to follow your instructions but I cannot find the part I have to replace in step 2
    After uploading the photos, I added captions to each photo (as I read your answer to one the above comments), and also added a link to each photo.
    I also adapted to size of the photos

    What I get is this (example for 1 photo):
    http://winniedummyblog.blogspot.co.il/2013/01/question.html

    Which part do I have to replace?

    Thanks, Winnie

    ReplyDelete
    Replies
    1. Hi Winnie,

      It'll be much easier if you do the styling (Step 2) before captioning, as captioning will wrap your whole code in a table (which means you're gonna have to deal with more unnecessary codes).. In the code that you already have, all you have to do is remove this part:

      style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;

      Cheers :)

      Delete
  45. Hi Yoboy,

    Your site is great. I have used a lot of info from here to customize my site.

    I have some questions:

    How do you change the header on the other pages to look like the header on my homepage? My header links only show up only when I hover on them. That is not how it is on the homepage. The links show up on the home page all fine. When I hover on the header and click on the links , it opens up in a new window.

    My Blog is http://bitesncrumbs.blogspot.com/

    I have customized the pagesto have a snapshot view. The homepage has sidebar view.

    Example: When I click on the Desserts page, I see all the desserts arranged with the Flipcard view. However on this page, you will see the header font slightly different and header links all gone. The Home link is gone. If you hover on the header links and try to click it, it opens the page in another window. I would like it to open in the same window. Can you please help?

    ReplyDelete
    Replies
    1. Hi Sharon,

      1) The following should help to retain the font stylings. Add it to your Add CSS box:

      #header.header .title a h1{
      font-style: normal !important;
      }
      .header-bar span.title h3 {
      font-size: 16px !important;
      font-weight: bold !important;
      }

      2. I'm afraid there isn't anything we can do to prevent the pages from opening a new tab.

      3. As for the missing home links, I reckon you can get this fixed by first going to Dashboard - Layout - Pages - Edit, and uncheck 'Home' so that it won't show in your Header bar. Next, go to Dashboard - Pages - New Page - Web Address, and add your homepage and title it Home.

      Cheers :)

      Delete
  46. Thanks Yoboy.. These worked :) Im so glad.. I just wish there was a solution to stop the pages from opening in a new window. Also, is there a way I can add the pin button to my blog posts and images?

    ReplyDelete
    Replies
    1. Hi Sharon,

      When you mentioned the pin button, are you referring to the one from Pinterest?

      Delete
    2. I would like to know this too! It's the pin that hovers over each picture

      Delete
    3. Hi Jenny,

      I'm afraid this pin you're referring to is entirely foreign to me. Do you have a page/link I could look at?

      Delete
  47. oh my goodness, you solved my problem. thanks Yoboy :D

    ReplyDelete
  48. YEEEEEEAAAAAAAHHHHHH BUDDDDY!!! Awesome thank you for doing this!! You are a legend!!

    ReplyDelete
  49. I believe that the Lightbox function is not working properly on the page with my tabled images.
    It does seem to work on my landing page.

    Any idea ?

    ReplyDelete
    Replies
    1. Mind if I take a look at the page where your thumbnails are at?

      Delete
    2. Ofcourse! Sorry I forgot to add the links in my post.

      http://www.michielvdheuvel.com/p/gallery.html

      The first two images link to a static page and work fine. The others just open in a new tab. However I made sure that the Lightbox option was enabled under Settings.

      Thanks for looking into it !

      Delete
    3. I´m not sure if I replied, but if I did not; here is the gallery.
      http://www.michielvdheuvel.com/p/gallery.html

      My blog thumbnail tables don't seem respond at all now.

      Delete
    4. I haven't been able to replicate this issue in my blog, so I'm not entirely certain if the workaround in the blog below will work - but it's worth a shot. Give it a whirl and let me know how it goes.

      http://blogging.nitecruzr.net/2013/03/the-lightbox-image-display-option.html

      Delete
    5. I've tried that solution but it did not solve the problem.

      Delete
    6. I'm sorry that didn't work. Have you tried creating a dummy blog using the same account, preferably with one of the default templates, and see if the lightbox works there? If it does, we'd at least know there's something wrong with your current template.

      Delete
    7. No problem! I'm very glad of your assistance :)
      I tried creating a dummy blog as you suggested and copied my hmtl code from my website's Gallery page. But the problem persists!

      Originally I wanted to make the thumbnails in my website's gallery the same size each (400 x 225 ) in a 3x2 table (as currently seen on my page)

      As you can see, my images are not all alike. Even though I removed the height and width code, as well as configuring them to s400.

      The results is this : http://sajdhajdhnjasdz12323sd.blogspot.nl/p/blog-page.html

      I tried to fix it on my own by uploading 400x225 custom thumbnails and copying their respective src link and pasting them into the table.

      I figured it would work, but then the Lightbox failed working. Which is where we're at now. I hope my explanation helped you better understand what I'm messing with!

      Delete
    8. I just visited this page of yours and the lightbox is working there:
      http://sajdhajdhnjasdz12323sd.blogspot.nl/p/blog-page.html

      Since it wasn't working on your primary template, I'm thinking there is something in your template that's failing the lightbox. How much of a modification have you made to the template?

      Delete
    9. Not much! I am currently re-building the blog from scratch to see where things go wrong.

      Delete
    10. Hey there! Just wanted to let you know that I can't see where things go wrong. I am currently just uploading images and putting them next to eachother by deleting
      the div class seperator line between two images. This seems to work for now. Thanks again for looking into it.

      Delete
    11. Glad you've got things in control now. Sometimes things happen - and it takes more time to figure out the fault than starting from scratch :D

      Delete
  50. HI!!! I am hoping you still answer questions! I got the code and everything was going great but when I switched to compose the photos on each row are touching. How do I add a little space between each photo???

    ReplyDelete
    Replies
    1. Still do. It'll be easier if I could just advise based on what you've already got going. Have you published this page yet?

      Delete
  51. I've been looking for a tutorial on how to do this for days and this is the only one that had worked well for me. Great post!!

    ReplyDelete

Please use the 'Ask a Question' page to shoot questions that are not related to the tutorial in the post above.