BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 161 through 170 (of 15,332 total)
  • Author
    Posts
  • in reply to: image quality and proportions #489503
    Steven Zahm
    Keymaster

    @ Ellen

    Connections like most plugins/themes use a center weighted scale/crop.

    Add this filter to change this default:

    function cn_output_default_atts_image_filter( $atts ) {
    
        $atts['zc'] = 2;
    
        return $atts;
    }
    add_filter( 'cn_output_default_atts_image', 'cn_output_default_atts_image_filter' );
    

    Valid values:

    • 0 Resize to Fit specified dimensions (no cropping)
    • 1 Crop and resize to best fit the dimensions (default behaviour)
    • 2 Resize proportionally to fit entire image into specified dimensions, and add borders if required
    • 3 Resize proportionally adjusting size of scaled image so there are no borders gaps

    I think 2 is the only other crop mode that will work well in your use case.

    Hope this helps!

    in reply to: Directory list not publishing or displaying #489500
    Steven Zahm
    Keymaster

    @ Susan

    When I try to access the admin I get a 403 error. Do you have some restriction in place?

    in reply to: Only ONE Entry Not Displaying #489496
    Steven Zahm
    Keymaster

    @ KC

    No problem. Sometimes it takes a fresh set of eyes.

    If you have a moment, I would truly appreciate a review as they really do make a difference.

    https://wordpress.org/support/plugin/connections/reviews/

    Thanks in advance for your time!

    in reply to: Only ONE Entry Not Displaying #489488
    Steven Zahm
    Keymaster

    @ KC

    Please navigate to the Tool : Real-Time Find and Replace admin settings page.

    It has been setup to replace high-voltage with high voltage.

    Apparently this run after the directory is embedded on the page so it changes both the entry permalink and the image display by changing its source.

    Navigate to the Connections : Manage admin page and mouseover the “View” link for the “High Voltage Asia Pte Ltd” entry.

    Note in the mouseover tooltip that the dash is present in the link, not a space or a +.

    You have to remove the high-voltage setting from Real-Time Find and Replace or change the entry name so it does not match so it does not get replaced.

    Hope this helps!

    in reply to: image quality and proportions #489487
    Steven Zahm
    Keymaster

    @ Ellen

    Yes, the overlay is placed over the image. The aspect ratio is correct based on the 1920x2408px original image size.

    You need to adjust for the height of the overlay. So, add 70 to 100 to the image height.

    Steven Zahm
    Keymaster

    @ Ellen

    Sorry, this would require custom development which would include additional plugin.

    Also, I suggest adding a custom text field instead of using the Custom Fields:

    If you decide to use the Custom Fields, CSS can be used to hide the label.

    Hope this helps!

    in reply to: Directory list not publishing or displaying #489482
    Steven Zahm
    Keymaster

    @ Susan

    I’m still not quite sure how Connections could be the issue because the rest of the page content is missing as well…

    Please create a temp admin login using this plugin:

    Reply back, as a private reply, and I’ll take a look.

    in reply to: image quality and proportions #489480
    Steven Zahm
    Keymaster

    @ Ellen

    Set grid size to 320 x 400:

    Example:

    [connections image_width=320 image_height=400]

    That will ensure the images are scaled down to the same ratio of the source images. Well, technically the height should be 401.333333333. Rounded down should be fine.

    Changing the quality on the image settings will actually not have any effect on Gridder since it dynamically creates the required image sizes it needs. Those settings only affect the default cached images sizes which are created when an image is added to an entry.

    Connections defaults to the same quality as core WordPress. This default can be changed by adding a filter.

    add_filter( 'cn_output_default_atts_image', 'cn_image_quality_100' );
    function cn_image_quality_100( $atts ) {
        $atts['quality'] = 100;
        return $atts;
    }
    

    Use the Code Snippets plugin to add this filter.

    Hope this helps, let me know!

    in reply to: Only ONE Entry Not Displaying #489479
    Steven Zahm
    Keymaster

    @ KC

    RE: I even did a variation on the name High Voltage, and it still replaced it with a + on a new entry.

    You can kinda sorted ingor the +, The browser will always replace a space character with a +. So, that is not the issue, it is a symptom.

    Like I said, it seems something is interfering with the entry slug.

    I just added both High Voltage Asia Pte Ltd and High Voltage to my testing site and both added fine … the space between High and Voltage was had the dash as expected.

    Create a temp admin account using this plugin:

    Reply back, as a private reply, and I’ll take a look.

    Right now, I am really thinking another plugin is, for some reason changing the page content and removing the dash. I say this because I can fix the link and it loads as expected:

    This tell me the entry and its data is correct. I do not believe, at this point, that this is an issue with Connections.

    in reply to: Directory list not publishing or displaying #489478
    Steven Zahm
    Keymaster

    @ Susan

    RE: Directory of Service Providers

    It does seem something is stripping the page content. NOt only is that affecting Connections, it is also removing your icon and bold-italic note you have before the shortcode.

    Try this, copy the shortcode only from the services page and past it into a new page. publish that new page? Does that new page show the directory?

    RE: Big Bass Construction

    I could not figure out which page this entry is displayed on… but my guess is that Connections was not able to geocode the address automatically … well OpenStreetMap was not able. So, without a lat/long, there will not be a map.

    When you manually added those, that allowed the map to be created.

    Hope this helps! Let me know how it goes with the directory test.

Viewing 10 posts - 161 through 170 (of 15,332 total)