www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > JavaScript

    JavaScript JavaScript (not Java) Discussion and technical support, including AJAX and frameworks (JQuery, MooTools, Prototype...)

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 06-19-2006, 03:15 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    Where can I get this script?

    Where can I get the script on this website...

    http://tattoofonts.net/

    I've searched and searched with no luck.

    I cannot seem to extract the script from the site either.

    Any help would be MUCH appreciated!
    Reply With Quote
      #2  
    Old 06-19-2006, 03:44 PM
    phpnovice phpnovice is offline
    Banned
     
    Join Date: Dec 2004
    Posts: 8,652
    Script to do what?
    Reply With Quote
      #3  
    Old 06-19-2006, 03:51 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    Sorry, I should have explained a bit better.

    I want to be able to upload fonts.

    The user will be able to input text and see what it looks like in the fonts I have uploaded. The script will display the inputted text as an image.

    The user will be able to alter the size of the text and download the image created by the script.

    An example is the script on www.tattoofonts.net
    Reply With Quote
      #4  
    Old 06-19-2006, 03:53 PM
    phpnovice phpnovice is offline
    Banned
     
    Join Date: Dec 2004
    Posts: 8,652
    JavaScript cannot create images -- but, perhaps that was not your intent. Anytime you see a website that is generating images according to user specifications, such a web site is using server-side code to accomplish that task.
    Reply With Quote
      #5  
    Old 06-19-2006, 03:59 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    I'm slightly confused by your reply.

    Ok, so if javascript is not creating the images, what script is?

    And what would be an appropriate search term I could input into google to find a script?
    Reply With Quote
      #6  
    Old 06-19-2006, 04:03 PM
    phpnovice phpnovice is offline
    Banned
     
    Join Date: Dec 2004
    Posts: 8,652
    PHP can create images on the server side.
    Reply With Quote
      #7  
    Old 06-19-2006, 04:04 PM
    JulianJ JulianJ is offline
    Registered User
     
    Join Date: Jun 2006
    Location: Washington, DC
    Posts: 75
    It is a server-side script named "img.php", see this line from the site you linked to:

    document.getElementById('gd').src="img.php?font="+font+"&text="+txt+"&size="+px+"&color="+color;

    Julian
    Reply With Quote
      #8  
    Old 06-19-2006, 04:05 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    Ok, any ideas where I could get one from?
    Reply With Quote
      #9  
    Old 06-19-2006, 04:08 PM
    felgall's Avatar
    felgall felgall is offline
    Computer Consultant
     
    Join Date: Mar 2005
    Location: Sydney, Australia
    Posts: 7,979
    Something server side would be creating it.
    Reply With Quote
      #10  
    Old 06-19-2006, 04:09 PM
    JulianJ JulianJ is offline
    Registered User
     
    Join Date: Jun 2006
    Location: Washington, DC
    Posts: 75
    Try google.com...

    In the meantime,this might be of some help: http://www.alistapart.com/articles/dynatext

    Julian
    Reply With Quote
      #11  
    Old 06-19-2006, 04:15 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    Sorry for sounding stupid but what would I search for?
    Reply With Quote
      #12  
    Old 06-19-2006, 04:17 PM
    phpnovice phpnovice is offline
    Banned
     
    Join Date: Dec 2004
    Posts: 8,652
    Quote:
    Originally Posted by khalidwa
    Sorry for sounding stupid but what would I search for?
    Creating Dynamic Images with PHP:

    http://www.phpbuilder.com/columns/rasmus19990124.php3
    Reply With Quote
      #13  
    Old 06-19-2006, 04:38 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    ive searched but with no luck.

    anybody have any scripts they know of?

    p.s. thanks for all replied so far.
    Reply With Quote
      #14  
    Old 06-19-2006, 04:45 PM
    phpnovice phpnovice is offline
    Banned
     
    Join Date: Dec 2004
    Posts: 8,652
    My last reply teaches you how to do it.
    Reply With Quote
      #15  
    Old 06-19-2006, 04:47 PM
    khalidwa khalidwa is offline
    Registered User
     
    Join Date: Jun 2006
    Posts: 8
    sorry but im really looking for a script as i don't have time to learn as i don't have the time.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 08:33 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.