This project provide theme function with multiple variable for generated images form given text with given size and color.
Usage:
Install the module, Then you can find easy way to convert text to image in .png format.
You can define your color, size, text , title, alt tag for image tag.
using following code:
print theme('texttoimage', array('text' => 'Text to Image', 'size' => 20, 'color' => '0074bd', 'title' => 'title', 'alt' => 'alt'));
Project:
https://www.drupal.org/sandbox/dilipsingh02/2511972
git clone command :
git clone --branch 7.x.1.x http://git.drupal.org/sandbox/dilipsingh02/2511972.git text_to_image
cd text_to_image
Comments
Comment #1
dilipsingh02 commentedComment #2
dilipsingh02 commentedComment #3
saurabh.tripathi.cs commentedHi ,
Please fix below Points:
1)Provide proper Git clone command:
Please follow instructions:
You can find the correct git clone command for your sandbox by clicking on the Version control tab, removing the checkbox in front of "Maintainer", and clicking Show. You can then copy-paste the git clone command from the codeblock below "Setting up repository for the first time".
2) PHP ERROR:
Can't use function return value in write context in ./text_to_image.module on line 96
Errors parsing ./text_to_image.module
Please fix if not fixed already.
3)GIT ERROR:
It appears you are working in the "7.x.1.x" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Reference Link: https://www.drupal.org/node/1127732
Comment #4
dilipsingh02 commentedI have updated git clone command, Thanks for your support.
Comment #5
dilipsingh02 commentedComment #6
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #7
Dragooon commentedAutomated Review
As identified by pareview.sh:
Review of the 7.x.1.x branch (commit 05f0c10):
- Remove "version" from the ./text_to_image.info file, it will be added by drupal.org packaging automatically.
- PHP Fatal error: Can't use function return value in write context in ./text_to_image.module on line 96
Errors parsing ./text_to_image.module
- No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.
Manual Review
Comment #8
Dragooon commentedComment #9
dilipsingh02 commentedReview of the 7.x.1.x branch (commit 05f0c10):
-Remove "version" from the ./text_to_image.info file, it will be added by drupal.org packaging automatically.
Dilip>>fixed.
- PHP Fatal error: Can't use function return value in write context in ./text_to_image.module on line 96
Errors parsing ./text_to_image.module
Dilip>>fixed.
- No automated test cases were found, did you consider writing Simpletests or PHPUnit tests? This is not a requirement but encouraged for professional software development.
Dilip>>fixed.
3rd party assets/code
fixed.
README.txt/README.md
updated
Comment #10
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxdilipsingh022511972git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
dilipsingh02 commentedI have tested code, now error are fixed :
http://pareview.sh/pareview/httpgitdrupalorgsandboxdilipsingh022511972git
Comment #12
dilipsingh02 commentedComment #13
vipul.patil7888 commentedComment #14
rutel95Manual review:
Git errors:
It appears you are working in the "7.x.1.x" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
1) text_to_image_admin_settings() line 59 wrap a string in a function t();
2) instead of the public: // use file_default_scheme()
Comment #15
arun ak commentedHi,
Please set the default git branch in settings. Current git clone url is not working. While unpack the package the operation is breaking.
Thanks,
ARUN AK
Comment #16
prashant.cHi Dilip,
Coder shows following critical warnings in text_to_image.install file:
drupal_set_message($msg, 'error');
drupal_set_message($msg, 'warning');
Comment #17
kreynen commentedIf you review a project and it contains a file called License.txt, there is probably something wrong.
http://cgit.drupalcode.org/sandbox-dilipsingh02-2511972/tree/fonts/Aller...
WTF?!? This font needs to be deleted immediately!
I can't believe there are other manual reviews of this project that didn't point this out.
Comment #18
kreynen commented> 3 weeks with no response. Escalated #2569885: Commerically licensed font in Text to Image project to have the sandbox node unpublished, the non-GPLv2 files deleted from git and @dilipsingh02's git access revoked.
Comment #19
dilipsingh02 commentedI will do this today.
Comment #20
dilipsingh02 commentedComment #21
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #22
dilipsingh02 commentedComment #23
avpaderno