I want a image of size 550x550 for single product slider, but my slider is getting
small_image and resize into size 270 x270, this leads image to be blur.
I have checked at my end and found that it is not bringing image field in product information.
First, log into Magento admin panel.
CMS -> Static Blocks -> Slider block or CMS -> Pages -> Home page -> Content tab that contains the coding for slider:
In the coding look for:
and replace with:
Using Firebug we can find out the width and height of the container:
For Example :(Save Your Pixel Size which you want):
Let’s replace the images with the new ones, of
1170px*510px size. You should use Photoshop or any other images editor to adjust all images to the new size, in our case I made all images of size
Get back to the slider coding in admin panel, and since your new image width is
1170px and its height is
510px, the new percentage should be
(510\1170)*100= 43.58. Change height:
‘40.357%’, into height:
‘43.58%’, and save the changes.
Save the changes,
clear cache and
refresh your website in browser to see the changes.
For this I think you issue in resize function of magento
enable template path and go to that
where you find
method change value of that method to
550 instead of
May be you template
img tag contain code just like below so change resize value
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->keepFrame(false)->resize(550); ?>" /> <!--change resize value to 550 instead of 270-->