title: How to put a watermark text across the whole image in diagonal position?
body: <p>I have connected my Google Drive with my website and im getting images in this format: <code>https://googledrive.com/host/{$GoogleID}</code>. What i want to do is to add a text (not image) watermark to all the images im getting from Google Drive. I already tried with: </p>
  
  <ul>
  <li><a href="http://php.net/manual/en/image.examples.merged-watermark.php" rel="nofollow noreferrer">http://php.net/manual/en/image.examples.merged-watermark.php</a></li>
  <li><a href="http://phpimageworkshop.com/tutorial/1/adding-watermark.html" rel="nofollow noreferrer">http://phpimageworkshop.com/tutorial/1/adding-watermark.html</a></li>
  </ul>
  
  <p>Both of them dosent work for me or i cant get them to work i dont know why. I will give an example for an image url: <code>https://googledrive.com/host/0B9eVkF94eohMRlBQVENRWE5mc2c</code></p>
  
  <p>I have also tried the code from this <a href="https://stackoverflow.com/questions/2235152/add-watermark-to-images-with-php">answer</a>, but it dosent work as well. I guess the problem should be that the files i'm getting from Google Drive are not with the file extention and maybe this cause the problem. This is only my guess...</p>
  
  <p><strong>UPDATE:</strong>
  i managed to show the photo on the website, but how to put the text in diagonal possition across all the photo like this <a href="https://i.stack.imgur.com/nSMEw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nSMEw.png" alt="enter image description here"></a></p>