Maury Markowitz Posted March 16, 2013 Share Posted March 16, 2013 In my theme the category header images take up much more room that the image itself - there's lots of while space around it. I looked in the HTML and found that the IMG's width and height are being set in code to very large values. That code can be found in the tpl, like this: width="{$categorySize.width}" But where is this value coming from? I assume there is a setting somewhere, but I can't find it! Link to comment Share on other sites More sharing options...
PrestaCoder.com Posted March 17, 2013 Share Posted March 17, 2013 Hi, The category is set on Prestashop B.O > Preferances > Images. Here change the values for category_default, then hit "Regenerate Thumbnails" buton. Link to comment Share on other sites More sharing options...
Maury Markowitz Posted March 17, 2013 Author Share Posted March 17, 2013 Well that was easy! Thanks! Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2013 Share Posted March 27, 2013 I take this Prestashop Bitmap LoadImage = new Bitmap(@"C:\\1.bmp"); Size newsize = new size (width, height); e.g. Size newsize = new size (150, 250); } Image.ResizeImage (@"C:\\1.bmp", new size(150,250)); it isn't related to prestashop, why you paste here C# code ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now