Skip to content

Company Detail Logo dimensions incorrect.

I've a migrated vtiger 7 system (from v6) and the customer can't upload his new logo.

There's a jQuery notify giving the message about the logo being the wrong size.

On the Company Details edit page, the text says "Recommended size 170X60 pixels( .jpeg , .jpg , .png , .gif , .pjpeg , .x-png format )."

However, in layouts/v7/modules/Settings/Vtiger/Resources/CompanyDetails.js I see the following code:

    registerCompanyLogoDimensionsValidation : function() {
        //150*40 logo with padding would be nice
        var allowedDimensions = {
            'width' : 150,
            'height' : 40
        };

If I change the above code to 170x60 it works.

So which is right/wrong? Description of the size or the code?

Also the text should not say "Recommended" if you can't upload anything else. It should say something like:

"Permitted size 170x60 pixels( .jpeg , .jpg , .png , .gif , .pjpeg , .x-png format )."