Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Bardi 927 posts 2562 karma points
    Jan 19, 2011 @ 11:39
    Daniel Bardi
    1

    TextImage Datatype

    Just a heads up..

    The TextImage datatype has been submitted for testing.

    Plans are to have it ready for release in the 2.1 Beta scheduled for 1/31/2011.

  • Daniel Bardi 927 posts 2562 karma points
    Jan 19, 2011 @ 11:53
    Daniel Bardi
    0

    The TextImage datatype allows for generation of an image of text based on settings (color, background, font, size, position, etc..)

    It allows the use of server fonts as well as a custom font (TTF file)
    It appears on doctypes as a standard textbox, but generates an image file on save (displayed in a preview)

    It saves xml:

    DataType Editor:

    DocumentType Property

  • Daniel Bardi 927 posts 2562 karma points
    Jan 20, 2011 @ 00:45
    Daniel Bardi
    0

    Sample XSLT usage:

    <img src="{$textImage/TextImage/Url}" alt="{$textImage/TextImage/Text}"/>
  • skiltz 501 posts 701 karma points
    Jan 20, 2011 @ 00:56
    skiltz
    0

    Whats the technology behind this?  Is it using something like  a mschart control?

  • Daniel Bardi 927 posts 2562 karma points
    Jan 20, 2011 @ 01:04
    Daniel Bardi
    0

    It's using standard .Net libraries.

    It generates a static image file in the media library (/media/TextImage/xxx.png)

  • Eran 292 posts 436 karma points
    Mar 17, 2011 @ 01:49
    Eran
    0

    looks cool.

    what is the scenarios of using this? i'm using font replacements technicks like cufon or font-face, but its look interesting.
    do you know if its working with other languages fonts like hebrew, etc?

    Thanks,

    Eran

  • Daniel Bardi 927 posts 2562 karma points
    Mar 17, 2011 @ 05:44
    Daniel Bardi
    1

    I've tested it with several fonts (Chinese, Hebrew, Korean.. ) and it simply renders to an image.  :)

    I can be used if the design calls for a specific font face and you don't want users to download a font to view it.  The datatype also stores the original text so you can set it as the Alt tag for SEO.

  • Eran 292 posts 436 karma points
    Mar 17, 2011 @ 12:59
    Eran
    0

    thanks, i will test it also in hebrew in the near future and let you know if i will found any problems.

    Eran

Please Sign in or register to post replies

Write your reply to:

Draft