MODX phpThumbOf not thumb images in IE

06 Jun 2012

Just had some strange problems with MODX phpThumbOf not showing generated thumbnails (right; only with Internet Explorer).

First thought it’s some MIME-TYPE configuration of the server, but this all seemed to be OK, after comparing my local Apache config with the live server the only difference was the missing GD Support.

And see there, installing (Ubuntu) the php5_dg package solved my problem.

1
2
# sudo apt-get install php5-gd
# sudo /etc/init.d/apache2 restart

Not sure why it didn’t work with IE, probably the generated thumb was in a wrong format or  ImageMagick (which was installed), caused some issues.

Anyway I’m glad it working.

Note: Make sure to delete all the old thumbnails from the MODX cache to make sure the are generated new.

MODX FormLog hook to store formIt data in a jSon

28 Jan 2012

I was looking for a simple way to store FormIt data, so i came up with this simple hook:

Search Engine Sphider – web crawler

05 Sep 2011

I was looking for a easy and simple way to crawl multiple web-sites and build a search catalog.

After a few google searches I found sphider I really love it and it does exactly what I was expecting.

You define the URL’s you wish to index, set the level of how deep you wish to follow the links and it gives you a super fast and powerful search engine.

Check it out:

http://search.sofasurfer.org/

 

Dynamic google map markers via simple jSon file

27 Jun 2011

After making my previous post on how to simply store comments in a jSon file (and the comment from Brian) I decided to write an additional HOWTO create dynamic markers and store them in a jSon file.

It also includes an automatic geo data lockup via Google GeoCoder and generates a detail html file for-each marker created, which then will be loaded dynamic when the marker is clicked.

Check out the working example or download the code.

Read the rest of this entry »

PHP Simple Comments Read/Write jSon data to text file

04 Mar 2011

A few days ago i had to build a simple comment form. First i thought about MYSQL etc, but this all seems to be too complicated. So i came up with a simple solution based on jSon and a TXT file.

Check out the example page or download source code.

So that’s how it cooks:

Read the rest of this entry »

Switch to our mobile site

Clicky