开发者

question about generating the image in php

开发者 https://www.devze.com 2023-01-25 02:46 出处:网络
i write the script to generate the image and i write the text on the image. my doubt is if i send the header then only the image is displaying ... without sending header i can\'t display the images?

i write the script to generate the image and i write the text on the image. my doubt is if i send the header then only the image is displaying ... without sending header i can't display the images?

I want to display 20 dynamically generated images with different text in one page. so when i create 开发者_开发问答first image and display second will not display because already first image sent the header.

How can i solve this problem.

Thanks on advance. Madan Sapkota


Either you make one big image and send that or you send a HTML file that contains your 20 images, these will be fetched one by one by the browser and you can send a header everytime :-D

0

精彩评论

暂无评论...
验证码 换一张
取 消