{ Snipperize } /image
Snippets about image
Correct Way to Draw Background Using a Pattern Image
Correct Way to Draw Background Using a Pattern Image
Objective-C / background, pattern, image, nsimage, nscolor, nsgraphicscontext / by ThePeppersStudio (59 days, 21.40 hours ago)
Disallow Linking to the Images from Outside of your Site based on Htaccess
Replace "mysite" with your own and this will block access to sites attempting to link to your images. Note, it's not necessarily always a bad thing for people to link to your images. If you run a blog, portfolio, or sales gallery, etc, you may actually want your images to show up in google image search results and the like. Careful that you're not blocking your goals along with the images. Make sure this script is for you.
Apache / HTTP_REFERER, rewrite, htaccess, image, block / by ThePeppersStudio (65 days, 0.25 hours ago)
Image to colortext(html) converter
It converts any image to colored text (html). In order to compile textimg you will need to install magick++ dev libraries.
C++ / magick++, image, text / by ThePeppersStudio (144 days, 17.83 hours ago)
CSS Image Hover
CSS image hover with fade in-out effect.
CSS / image, hover, fade, transition / by ThePeppersStudio (224 days, 16.66 hours ago)
Embed Image as Code
Saves an image as code. Useful for small images.
Javascript / image, base64 / by ThePeppersStudio (331 days, 21.39 hours ago)
Sort JPGs by EXIF-Date in Directory Structure
This snippet takes all .jpgs in a Directory (INDIR) and puts them into a date-based directory structure inside OUTDIR.
Python / jpeg, exif, image, sort / by ThePeppersStudio (371 days, 19.43 hours ago)
Preload Images Use CSS
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
CSS / image, preload, cache / by ThePeppersStudio (393 days, 19.87 hours ago)
生成一个像素的PNG图片
PHP / gd, image, img, png, repeating, tiles, transparent / by ThePeppersStudio (414 days, 20.50 hours ago)
- 1
- Home
- New Snippet
- Languages
-

