Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Dynamic image script wanted

Featured Replies

Im looking for a php script that used ImageMagick or GD to create images on the fly with a simply variable. Basicly I want something so that If I embed the following image email.png and it will create an image on the fly that shows up as [email protected]

 

 

 

I tried myself and got into a fiddle and I coudlnt find anything useful online.

 

 

 

Anyone got ideas?

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

I'll have a play around later tonight. I might be able to knock something out.

 

 

 

I assume it's just an image replacement of the email address so as to stop spiders harvesting the email address?

Got a minimum height for the text, in pixels?

  • Author

Times new roman, bold, 10. :D

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

  • Author

I have recieved from help via pm from Cruiser with the following code.

 

<?php 

$email = explode('/',$_SERVER['REQUEST_URI']); 



$img = imagecreate(strlen("$email[2]@$email[3]")*10, 18); 

$background = imagecolorallocate($img, 255, 255, 255); 

$text = imagecolorallocate($img, 0, 0, 0); 



imagestring($img, 5, 2, 1, "$email[2]@$email[3]", $text); 



header("Content-type: image/png"); 

imagepng($img); 

?> 

 

 

 

I will be tidying this up and customising it to my needs shortly and post again on my progress soon.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.