I need help with PHP image manipulation

Discussion in 'PHP' started by homesure, Nov 25, 2011.

  1. #1
    Hello,

    I do some php coding but I'm not used to manipulating images. I'm working on a project that displays members' pictures from facebook or Twitter. I need a script that will add a badge to each image (like Fiverr featured) or simply print a text on the image. I could call a function with parameters like imageBadgeShow($path,$textToWrite) or simply imageBadgeShow($path)

    imageBadgeShow($path,$textToWrite)

    $path="http://facebook.com/path-to-image.png"
    $textToWrite="Fb";///This text should be printed on the image on white bg

    imageBadgeShow($path)
    $path="http://facebook.com/path-to-image.png"; ///Some badge like Fiverr with text Facebook

    I want to be able to call the script in a loop that displays a list of members and pictures

    Thanks for helping
     
    homesure, Nov 25, 2011 IP