views:

67

answers:

2

Hello,

Using the TinyCarousel program I created the following sample page. http://www.dealred.com/wa/jqimage.htm

The carousel is working fine, but as I have less space on the home page, we need to reduce the height of the carousel without reducing the thumbnail sizes.

Actual thumbnail size: 175x175 Carousel image size: 140x140 Required image size: 116x140 (do not show the top 12px and bottom 12px of the image). This will save us 24 pixels height and at the same time no compromise on the quality.

I created a sample requirement in photoshop. Please check it.

Is it possible to achieve this by using CSS or JQuery. Please help with the code. Thanks.

A: 

Don't know if you'll like my answer, but I would just setup an action in Photoshop and crop all of the thumbnails. I can't think of an easy way to 'crop' the thumbnails unless they were set as background-image in a div or something.

Curious to hear if someone more experienced than I has a solution though.

ESB
Hello ESB. Cropping in Photoshop is not an option as we need to show the same image full size in other pages.
Guess I don't see the issue. The thumbnails are separate images from the full size images correct? I'm suggesting you ONLY crop and re-export the thumbnails.
ESB
A: 

You could make a wrapper div around the image put a overflow: hidden; on it and define the height. And position the thumb -12px to the top.

Wieringen
Hello Wieringen,The solution provided by you worked perfect for me. You are genius. Thank you.