Search This Blog

Thursday, May 27, 2010

How to create composite image of 2 photos side-by-side

I have shown how to display 2 images side by side using the HTML table tag <table> but because a blogger asked to display a particular pair of photos side by side which actually turned out to be a single composite picture of 2 photos side by side, I am going to illustrate how this alternative method do displaying 2 photos side-by-side using my favorite free Irfanview photo editor.

First I am going to upload 2 photos of some trishaws (pedicab, bikecab, cyclo, becak, or rickshaw or in my country, becha) taken during my holidays in idyllic Terengganu displayed below using HTML table tag

Say, supposed you are HTMLphbic, meaning you hate HTML, here is how to make a single composite image of 2 photos side-by-side. First, open Irfanview or similar photo editors. I then go to Menu > Create New (Empty) Image (see screen shot below) and create an empty image, say, 800x500. Using the mouse, drag and drop to select a rectangle roughly proportional to the size of the photo (see screen shot below, red arrow to highlight selected rectangle):

Drag and drop with mouse to create selection with Irfanview
Screen shot 2

Now go to one of the photo, right-click on the photo and select COPY IMAGE to copy into clipboard (see screen shot below):

Screen shot 3

Now go to the first image that you want in the composite picture, either right-click on the image and select COPY IMAGE or go to the Menu, click EDIT > COPY IMAGE to copy image into clipboard. Now go back to the created image with the selected rectangle (screen shot 2), go to MENU > EDIT > PASTE and the first photo will be pasted into the selected triangle just like the screen shot below:

After pasting first photo, creating second rectangle to paste second photo of composite image

Now drag and drop to create the second selection (see screen shot above) and copy-paste the second photo and you will end up with the single composite photo with 2 images side-by-side:

Final composite image comprising 2 photos side-by-side


  1. Quik Question,

    I would like to post photographs and have them enlarged. I know I can click on the sides of the photo, drag and make them bigger- but this always results in my photo looking grainy. How can I make them bigger without losing the clarity?

  2. thank for the tutorial..


  3. very nice and very help full blog

  4. Anonymous11:22 PM

    i need complete sitemap like index for my blog posts. there are more than 4000 posts, i can't get it via any proper means.
    help me create a sitemap code so that i can create a page with posts categorized by labels.
    my blog here:
    hope you help me resolve this mess.
    Best Regards

  5. I am using blogger form a log time but I was not know how to show 2 pictures together in our post thank you for sharing this information I applied it to my blogger and its working .. .. ..

    Vertical Jump Bible

  6. Anonymous7:28 PM

    its a nice nd intresting one....


Related Posts Plugin for WordPress, Blogger...

Find topics by using the Google custom search box above which can search multiple blogs, or the SEARCH BLOG in the left corner of navbar. You can also find topics in the Label List and Categrories in the right sidebar.

For more information and special deals related to any of the issues on this page, place your cursor over the double-underlined links. All information supplied by

Disclaimer: This blog has no relation with Wiley Publications