SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with header('content-type: image/jpeg');

    i m creating some watermarked images dynamically using gd liberary.
    but using the header('content-type: image/jpeg'); command leads me to a page displaying the water marked image only (not the whole template..)
    i want to show the watermarked image in my template...

    plz help me what the hell is going on there....
    Last edited by faranshery; Nov 13, 2007 at 03:55.

  2. #2
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    solution

    if you run the watermarking script (producing the image dynamically) in the src attribute of <img> tag ,you would not get any header error, and the watermarked image would be displayed in the template containing other outputs.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •