NameSilo

Anyone who makes this script.

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

jontalbot

Established Member
Impact
6
ok, i know this is a simple script, but I'm clueless.
100NP$ to the person who can make a script for me like
http://www.hetemeel.com/ pref. like this one: http://www.hetemeel.com/dictionaryform.php
Many people have told me it's easy.. but I can't figure it out.

So 100NP$ or more depends if I like it a lot, to the person who makes this for me.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
please?... anyone?????????
 
0
Close
edit: nevermind, its word-over picture, just had a second look. Thought it was just a simple CMS.
 
0
Close
Sure, I found this script somewhere on the Internet earlier, and it should do the job perfectly. Besides the obvious from the coding itself, you can display up to three lines (or customize it to show more). In order to do this, your URL to generate the image should be:
Code:
[url]http://www.yourdomain.com/news.php?line1=[/url][b][u]Line 1 Goes Here[/u][/b]&line2=[b][u]Line 2 Goes Here[/b][/u]&line3=[b][u]Line 3 Goes Here[/b][/u]
In addition, you have to alter the following line in the PHP file:
Code:
// Replace path by your own font path
$font = '/home/websites/arial.ttf';
Let me know if this was what you needed. :)
 
0
Close
that seems to work ok, but I need to know how to put it into a form.. and how to adjust the coordinates.
here's what I basically want to do.
 
0
Close
Like I said, the scripting itself is pretty self-explanatory. If you play around with this component of the news.php file, you should be able to alter the coordinates:

Code:
 // Add the text

imagettftext($im, 16, 0, 110, 250, $black, $font, $line1);

imagettftext($im, 12, 0, 100, 265, $black, $font, $line2);

imagettftext($im, 12, 0, 80, 278, $black, $font, $line3);
Experiment with the scripting yourself at first, and post back here if you just can’t get it to work after trying.
 
0
Close
how do the coordinates work though?
 
0
Close
Understandable, I should have explained the concept better. This imagettftext array writes any given text to an image. Below is what each variable in the bracket represents:
Code:
imagettftext ( resource image, float size, float angle, [b]int x[/b], [b]int y[/b], int color, string fontfile, string text )
Hence, you must work with the parts I have bolded to alter the X and Y coordinates effectively. :)
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back