Welcome To Snipplr
Everyone's Recent Snippets Tagged images
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Static images (without generation) UL/LI list navigation fully manageable via backend
0
959
posted 14 years ago by z0r1k
This code will arrange any number of images (or display objects) in a grid, you can specify how many columns the grid contains.
3
919
posted 14 years ago by jknight42
This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript,...
0
2958
posted 14 years ago by ginoplusio
So here is something a lot of people have been wondering to do in the forums. How do I take a UIImage or any image and post it to a website. So this will go over how to do that.
There are two ways to tackle this issue. One we can base64 encode the...
2
1068
posted 14 years ago by espinallab
Con esto puedes tener control de las imagenes que fueron cargadas y las que no.
0
705
posted 14 years ago by jrobinsonc
This snippet is just an upgrade to the "http://snipplr.com/view/7396/php-file-extension-case-changer/" code. This particular code works on image files... although you can just change this line [if (preg_match("/(jpg|gif|png|bmp)/",$ext)) ] to target...
0
1321
posted 15 years ago by el-artiste
Ever needed to use to background images in a table or div? It is possible b just using css. Although this is yet to be a standard safari will allow you to apply 2! Css backgrounds, however IE, FIRFOX and retro opera users will only see 1 !
1
878
posted 15 years ago by scopefragger
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.
1
770
posted 15 years ago by SunilTee
By default ps2pdf re-encodes images, which usually reduces their quality. The commandline below prevents that. It also embeds fonts into the PDF, making it more portable. Substitute -sPAPERSIZE=letter if you are American.
0
998
posted 15 years ago by deepsoul
I believe that Accrisoft has a fetch all images from db function built in, but you could always use some php to create the image array
5
992
posted 15 years ago by conspirator
CSS
Cool CSS way to make left- or right-aligned (but not "styled" or "classed") images look pretty with no HTML change.
When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within (just pure <img> code), we can use simple CSS rules f...
1
1030
posted 15 years ago by kossmoss
Can be applied to any element, but is most relevent when applied to an image.
2
832
posted 15 years ago by Unreal
A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.
1
992
posted 15 years ago by neal_grosskopf
This snippet assumes that you have a container `div` with an id of "images".
It also assumes that each img element inside your container div has the CSS property `visibility: hidden`
0
590
posted 15 years ago by username