Hi,
I want pretty all of my content images with nice curved borders. I am currently acieving this by making an original 'square' image as the background of a table cell, then having an a gif image with a transparent centre as the actual image of the cell. See below

The frame image is a gif with tranparent centre, and the image it frames could either be a gif or a jpeg.

Does anyone know how (or if it is possible), to use php to combine the two image to get the Image I am looking for ?

Also I want to have main picture and thumbs, if it is possible to do the above, how could I create a thumb of the combined image ?

Many thanks for the help

    from what I understand of the GD libs is you can only do like images to like images... so all your images would have to be gifs then....

      You can edit an image and draw curved corners on it with ImageFilledArc(). there's an example in the comments of imagettftext.

      personally, i think the way you are doing it is better. certainly a lot easier on the server. perhaps you could slice up your frame gif and build a frame with a table or divs to make it resize to any image.

        Write a Reply...