Home » Archive

Articles tagged with: image

jQuery »

[1 Feb 2010 | 3 Comments]

I have made a very simple jQuery slideshow. When you click the play button, then the images changes with fade in and fade out effect.
View Demo || Download Code

jQuery »

[28 Jan 2010 | 6 Comments]

In this article, I will be showing you how you can replace string, div content, and image src value with jQuery.
You can do this by replace() function in jQuery.

Magento »

[7 Dec 2009 | One Comment]

In my previous post on getting height and width of image , I have written focusing on product image,  i.e. getting height and width of product image.
In this case, I will be showing you how to get height and width of any image in Magento. The image need not to be product image.

Magento »

[4 Dec 2009 | 2 Comments]

The following functions can be used to get product’s image height and width. Image functions are defined in Mage_Catalog_Helper_Image class.

getOriginalWidth gives width of image.

Magento »

[23 Nov 2009 | 38 Comments]

You can resize image with fixed height and variable width. Or, you can resize with fixed width and variable height. Following code shows how you do it in Magento.
Fixed width of 600px