Quantcast
Channel: Moishe BeshkinTag Archive » Moishe Beshkin
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Dynamic image rotation

I consider two basic logics on the idea how to rotate images on the site. Change image every time site is loaded. This logics can be realized with the simple php script. $results = array(); $handler =...

View Article



Function for creating thumbnails in php

It took me long time to create an universal function which would create thumbnails from pictures and suit all my needs. The base for this function, I took from here. But I modified it slightly....

View Article

Bash script to resize images

To make sure that this script works correctly, check that ImageMagic pack is installed on your Linux machine. #! /bin/bash dir=$1 target_dir=$2 mkdir -p $target_dir list=`ls -1 $1` for i in $list do...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images