Hi, just a quick one, when I choose layout 5 for the business listings what is the best size for the cover image upload? when I upload some images they seem stretched and messy, di you have a specific size in mind for the layout? Also business listing image, what is the best size for a good quality image on a listing?
This probably sounds quite trivial but I want my clients listings to look the best they can be., also if I wanted to add a description of the best size i.e. please upload an image size 1024 x 600px in the add business cover image box
Regards
David
Hi,
The best size depends on your template. If you are using our template the best size is 1150px x250px.
If the quality of image is changed please increase the maximum resolution on {joomla}/components/com_jbusinessdirectory/assets/defines.php
if( !defined( 'MAX_COMPANY_PICTURE_WIDTH') )
define( 'MAX_COMPANY_PICTURE_WIDTH', 1000);
if( !defined( 'MAX_COMPANY_PICTURE_HEIGHT') )
define( 'MAX_COMPANY_PICTURE_HEIGHT', 800);
David,
If you're not using their template, you can view the size by inspecting the element in the DOM. You're looking for the size of the div element with class company-style-5-header-image. Just make sure to complete all html/css mods in the <div id="company-style-5-header"> section before publishing the specifications.
George,
My cover images upload at 600x155px and my ideal size is 1110x287 (which I uploaded at). The MAX_COMPANY_PICTURE_WIDTH and HEIGHT are set to the same values as a you posted above (I've never overridden the defines.php). If this is what is controlling the cover image dimensions I'd expect that my cover image would upload at 1000xXXXpx. Is that the correct variable to change the cover image dimensions? This pertains to the cover image in layout Style 5.
Hi,
From your description it seems that the cover image is associated with a wrong type.
We will check this and release a fix in version 4.5.0
I searched site/assets/defines.php for "cover" and it returned no results, not sure what else it would be labeled as. I don't know where to look for the other half of the of the equation (the code that calls the defines variable, MAX_COMPANY_PICTURE_WIDTH or otherwise, when an image is selected for upload)
Is MAX_COMPANY_PICTURE_WIDTH dedicated to the cover photo or is it also controlling the size of the images used in the gallery, or some other picture on the site?