WordPress.org

Ready to get started?Download WordPress

Forums

Visitor Maps and Who's Online
[resolved] Printing text on visitor map image (4 posts)

  1. Vince LaMonica
    Member
    Posted 2 years ago #

    On one of the servers I have this plugin running on, I have to checkmark the preference, "disable text on geolocation maps (missing background fix)" in order for the map to display. Another server I run, I don't have to do that.

    As I am going to upgrade the first server shortly [hand-compiled PHP/apache/etc], I'd like to know what the non-hack fix is so that I don't have to have that setting checkmarked. Is there a certain image kit extension I have to build into PHP during compile time? Any tips would be most appreciated!

    Thanks

    http://wordpress.org/extend/plugins/visitor-maps/

  2. Mike Challis
    Member
    Plugin Author

    Posted 1 year ago #

    Your PHP needs to support this:
    http://php.net/manual/en/function.imagettfbbox.php

    how to compile that is beyond my help capability, sorry

  3. Vince LaMonica
    Member
    Posted 1 year ago #

    Thanks very much, Mike! I'm fixing things now so that the GD library and FreeType library are complied in with PHP properly. Thanks again! :)

  4. Vince LaMonica
    Member
    Posted 1 year ago #

    For those who are curious, my PHP 5.4.12 installation had the following compile-time arguments that made this plugin not need the "disable text on geolocation maps" fix:

    --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr

    There were other arguments as well, but I believe the above ones were the ones that solved the issue, as I now don't need to have that option checked and text shows up fine on the maps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic