Drop in photos
folder your photos with firstname and lastname in title... do the following things et voila ;-)
$ for i in ./photos/*.JPG ; do convert -colorspace GRAY "$i" "${i%.*}.jpg" ; done
$ for i in ./photos/*.JPG ; do convert -resize 250 "$i" "${i%.*}.jpg" ; done
php ./facebook-generator.php > facebook.html
- Rémi Barbe (aka Remiii)