Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 0.7.9.3, image_width, slim plus
- This topic has 2 replies, 2 voices, and was last updated 11 years, 10 months ago by
Hector Garza.
-
AuthorPosts
-
02/10/2014 at 9:44 am #279636
Jeremy Kidwell
GuestI can’t seem to get logo images to resize properly. I’ve confirmed that connections/settings is set to “Fill, maintain aspect ratio.” and have also tried using shortcodes to no avail.
Currently using:
[connections category='3' list_type='organization' template='slim-plus' image=logo enable_pagination=FALSE show_empty_categories=FALSE page_limit=100 enable_search=FALSE enable_category_select=FALSE image_width=100%]Is it possible that the template doesn’t allow for logo resizing? This is very important as our members will not be happy if their logos are cropped!
Best,
Jeremy02/10/2014 at 7:12 pm #279665Steven Zahm
Keymaster@ Jeremy
Since Slim Plus requires a specific image size for its layout, it dynamically generates the images on the fly. So, this means the logo image settings in the admin will not have an effect. The
image_widthoption you have set in your shortcode will not have an effect since it is not a valid option for Slim Plus. I suggest removing that option. With that said, I do have a solution.Install the Code Snippets plugin. Create a new snippet with the following:
function kidwell_image_atts( $atts ) { $atts['zc'] = 2; return $atts; } add_filter( 'cn_output_default_atts_image', 'kidwell_image_atts' );I hope that helps!
10/09/2014 at 3:07 pm #306649Hector Garza
GuestThanks, Steven! I was about to write on the forum about this issue, but that snippet of code did the trick!
Not sure what the code is doing, but it’s re-sizing correctly now.
Muchas Gracias!
Hector -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
