In this paper, a new technique for hiding the data of images has been proposed. This method uses 3-dimentional discrete cosine transformation scheme, along with 2-dimentional discrete cosine transformation. The method proposed in this paper hides two target images behind one cover image thereby increasing the data hiding capacity greatly. For the cause of security only the final stego-image is sent over the network. This approach is also free from the constraint of size.