stuffradio Posted July 1, 2009 Share Posted July 1, 2009 Does anyone know the equation to find out how to center text that you will write in PHP? So if I have an image that is always around 270 x 400 and 290x400 what would I do for math equations for centering it near the top and near the bottom of the image? Also, I found this class: http://www.phpclasses.org/browse/file/20034.html Does anyone know any other classes that would do more like writing text effects in PHP GD? Like shadow effect, strike through the text effect, etc. etc.? Quote Link to comment https://forums.phpfreaks.com/topic/164337-php-image-help/ Share on other sites More sharing options...
stuffradio Posted July 1, 2009 Author Share Posted July 1, 2009 I found a class that has Image alignment: http://www.phpclasses.org/browse/file/20089.html I still need help with finding out how to write text on images with effects though. Quote Link to comment https://forums.phpfreaks.com/topic/164337-php-image-help/#findComment-866928 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.