FIX PHP Function 2 Limit Width of Converted TXT to PNG file - repost

Awarded

I am working on a my first side-Project with the help of the Non-Profit Code Collab Collective and recently lost my PHP/mySQL coder, and I have found a small bug in the script. (if you are a member of [url removed, login to view] I have posted the php files there under username- jayism)

[url removed, login to view]

I have also taken screenshots of the problem (the bug) which is when uploading a TXT file and it converts to PNG which it does fine with the .NFO & .DIZ files, the .txt file (the longer the better to see the bug) scrolls across the page in almost remarkably neat paragraphs that end with each period (full stop) and then begin a new line with each sentence (as shown it screenshot or upload the example .txt file at [url removed, login to view] to see first hand).

A friend at [url removed, login to view], thogh he misunderstood how the web service worked - assuming I needed a bug fixed for a single .txt file 2 .png upload file, he got the result 100% SPOT ON using width and measurements of pixels.

I also read elsewhere that a php type of 'word-wrap' is another fix-it where a certain amount of characters across much like notepad uses 'word-wrap' would work, and a Coder pointed out [url removed, login to view] has such a similar solution.

OKAY SO HERE IS HOW THE SCRIPT WORKS ([url removed, login to view])

It is only in the early stages - So far it converts TXT, NFO, DIZ files to .PNG Images. Everything works fine, except when converting a .txt file there is no max-width of the PNG file, so the wording runs off the page, as you will see with the example the PHP guy from [url removed, login to view] wrote, his method does fix this problem, and has been tested, though MOST of his code is already part of my PHP script, so I need a PHP Coder from Freelancer/Scriptlance to take the code from his file (or if you have a better solution, you are free to use you're own techniques) so when a TXT file is converted there is a maximum width of 600px or the approx amount of 600px worth of characters (and please comment the PHP code */ so myself and future coders can keep up, as we still have alot of features to add in future versions)

Also, you will see in the [url removed, login to view] Coders file he has added some great ideas besides just the width, if you can make use of these extra lines of code please do - either in you're own style or by using his code directly, which he has given me permission to use to fix the error.

I was told by another coder it should not take more than 2-5 lines of code max. to get this overflowing text bug fixed, aswell as neaten up the code and add */comments to the existing code and change any comments from the older version that no longer applies, and please use // instead of deleting code in my files if they are no longer needed.

Here is the GitHub URL to all the Files for easy ZIP Download of the files used in the site:

[url removed, login to view]

And the .zip file below ([url removed, login to view]) is the code the generous PHP coder came up with before he understood I already had the code that converted TXT files to Image Files.... It has very helpful code though I have spent almost 1wk on it and cannot make any of it fit without producing errors (I am a CSS/HTML coder, I can understand most PHP, but have no idea how to fix this particular problem!

I HOPE ONE OF U PHP CODERS CAN HELP ME WITH THIS! I also have extra Features to be added while the Designers are working on the BETA Design, so I have a list of more work to the Coder who can replace my old freelance coder, as I have plenty of work for PHP/mySQL - Javascript/CSS3/jQuery/AJAX Coders and Web Designers/Developers on this project and more.

---

FILES INCLUDED-:

* a large .txt file for testing (also attached below) - [url removed, login to view]

* NFO & DIZ Files for experimental uses to see how the FIXED .txt appearance should look-:

[url removed, login to view] -- [url removed, login to view]

[url removed, login to view] -- [url removed, login to view]

Skills: CSS, Javascript, MySQL, PHP

See more: works to freelance, working with freelance designers, work how freelancer php, work freelancer php, work for freelance designers, word freelance web, who freelance works for designers, where to work as a freelancer, where to look for web designers, where to look for freelance developers, where to look for freelance design work, where to get freelance work, where to get freelance images, where to get freelance designers, where to get developers, where to get designers, where to freelance web design, where to freelance, where to code for freelance, where do they need web developers the most, where can i see the project i got on freelancer, where can i get freelance work, when to use freelancer, we need a php freelancer, web testing freelance

Project ID: #4691163

6 freelancers are bidding on average $90 for this job

fattahaabdul

Let an expert do it

$72 USD in 10 days
(30 Reviews)
7.4
allroundexperts

Hey , lets discuss this :)

$100 USD in 2 days
(113 Reviews)
5.6
pioneerb64

Ready to start it as soon as possible.

$60 USD in 2 days
(50 Reviews)
5.2
seomaster212

Hi sir i am ready for work kindly check pm.

$105 USD in 4 days
(24 Reviews)
4.6
szuta

Hi, I'm an expert webdeveloper, with huge experience in picture generating and text writing on picture. Please see my PM for samples. Thanks!

$100 USD in 3 days
(17 Reviews)
4.3
vickkey7

I am ready to start this project....

$105 USD in 5 days
(12 Reviews)
4.1