I am using phpThumb class to generate thumb image and watermark image/text; I am getting thumbnail image successfully but not able to write any watermark text or image.

<img src="phpThumb.php?src=<?php echo $row['user_profileid']; ?>/<?php echo $profile['photo_name']; ?>&w=144&h=173&fltr[]=wmi|watermark.png|BL" alt="" class="profile-pic">

I have to change in config file to show watermark ??

Recommended Answers

All 4 Replies

Is the watermark image available and path correct? Do you have GD enabled?

yes.. image is available and GD is also enabled

If you type the URL in the address bar directly, what do you see? Do you have errors enabled?

Showing thumbnail image but not with watermark text or image.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.