Welcome To Snipplr
Everyone's Recent Snippets Tagged image
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The following script will easily allow you to resize images using PHP.
3
807
posted 13 years ago by enkas
IE7 by default uses an image resizing algorithm that means that scaled down images can look far from awesome. To solve this, we simply enable a much better resizing algorithm that is available in IE7 that produces results similar to what you’d expe...
0
710
posted 13 years ago by paul66
The docs for the Sekati SWC are here: http://docs.sekati.com/sekati/sekati/utils/ColorUtil.html
Another useful blog post: http://blog.soulwire.co.uk/code/actionscript-3/extract-average-colours-from-bitmapdata
0
1044
posted 13 years ago by adrianparr
If post has featured image, use it.. If not, pick out the first in the post.. Still not working? Stick with the default one..
3
1004
posted 13 years ago by Wendelboe
Original custom fields code based on Wefunction's code here: http://wefunction.com/2008/10/tutorial-creating-custom-write-panels-in-wordpress/ enhanced to add support for uploading images.
1
786
posted 13 years ago by simnor
This is simple but saves time to copy-paste. This example has three columns (.boxcol) within the box. But the columns can be removed for single-column box.
0
971
posted 13 years ago by rumremix
This snippet will allow you to capture your screen in Java and saves the image as a PNG
0
793
posted 14 years ago by visudex