Jump to content

Category image sizes


Recommended Posts

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

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...