b2evo: quickly insert images into blog posts without saving post first

by prettyscripts on 2011-01-18 12:58:38 • Leave a comment »

b2evolution

b2evo changed how adding images to blog post works since V3. to add images (or files), the post has to be saved (as draft) first. this is rather inconvenient. what if, i decided i don't want to publish the post after 'all the hard work'? yes, the post… more »

Tags: b2evo, image, plugin, upload

block image bots / crawlers

by prettyscripts on 2011-01-01 15:23:36 • Leave a comment »

misc

you want search engines spiders to crawl your site content, but you don't want your images being crawled. if all images are under a certain directory, the simplest way is to update robots.txt file with:User-Agent: *Disallow: /images/ to preve… more »

Tags: image, index, robots, seo

gimp: enhance image and watermarks

by prettyscripts on 2009-05-23 02:48:16 • Leave a comment »

freegimp

my wow blog is basically a screenshot blog. images are screenshot from world of warcraft – if you don’t know what it is, it’s an online game. all images are edited with gimp , a free image manipulation tool. if you are a photoshop user, you’ll think it… more »

Tags: gimp, image, watermark, wow

php: is gd library installed?

by prettyscripts on 2008-12-11 14:11:21 • Leave a comment »

php

to check if the server has gd library, if (extension_loaded("gd")) echo "yes!"; another way is to check any gd related function, eg if (function_exists("gd_info")) echo "yes!"; more »

Tags: gd, image, php

php: get image size

by prettyscripts on 2008-12-04 14:11:21 • 1 comment »

php

to access basic image information like width and height, call getimagesize(), which returns data in array format as followsArray( [0] => 640 // width [1] => 426 // height [2] => 2 // not sure what this is. anyone? [3… more »

Tags: image, php, size