Tag Archive: php

Oct
01

WordPress Not Resizing Images

If you are using WordPress and when you upload an image it only offers you the original size image to insert into your post you need to install the GD library for PHP. On Ubuntu this is very simple just run the command: sudo apt-get install php5-gd and then restart apache sudo /etc/init.d/apache2 restart then …

Continue reading »

Jul
08

Capital W Capital P

I have blogged before about WordPress 3.0 and all the new features packed into it. One that slipped past my overview and indeed slipped past almost all who have talked so much about this new version of wordpress is a nasty little bit of code hidden away and apparently surreptitiously included by the original developer …

Continue reading »

Oct
27

Allowing Users To Add Markers On Maps With Google Maps Api

I have been working with Google Maps API to develop various things, so when a friends band asked for some help with an idea that involved allowinging visitors to their site to place markers on a map, I came up with this code: <script type=”text/javascript”> //<![CDATA[ var map = new GMap(document.getElementById(“map”)); map.centerAndZoom(new GPoint(10.107421875,49.89463439573421), 14); map.addControl(new …

Continue reading »