When I specify height and width of the thumbnails, images are deformed. I was wondering how to create effect like on this (http://www.theacademyisspain.com) site, when images are cut. I was trying to use "overflow: hidden", but it doesn't work as it supposed to. Any ideas? Thanks in advance.
My code:
.image {
display: block;
width:76px;
height:76px;
line-height: 76px;
overflow: hidden;
}
Create your own custom thumbnails that are cropped as you want. How is this related to cpmFetch?
Because I want to use it in my gallery
<?php
include "./../gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./../gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(2,2,array("imagestyle" => "image"));
$objCpm->cpm_close();
?>
As I said when height and width are specified images are deformed...
They will be deformed if they don't match the actual size of the thumbnails. You need to create thumbs that are cropped the way you want them.