Support » Plugin: Business Directory Plugin » Full sized images

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    I will need to check with my developer to find this out–he’s a bit backed up, so it may be a day or two before I can respond.

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    Hi unknwntrr,

    My developer finally responded:

    There is no existing setting for this since we enforce the thumbnail dimensions set by the user in the settings tab. I’m also not sure if he wants only the full sized version of the thumbnail or of all images in single view. In any case, the thumbnail and other images for the single view are handled in api/api.php inside the function _wpbdp_render_single (at around line 356). Since the thumbnail and other images are standard WP attachments we use the WP functions for everything.

    For instance, changing wpbdp-large to full in the call to wp_get_attachment_image_src results in the full sized version of the image being linked by the thumbnail. Changing wpbdp-thumb to full in the call to wp_get_attachment_image results in the thumbnail image being the full sized image.

    [Moderator Note: please do not post large chunks if text in italics. Try using the blockquote button instead.]

    Thank you! That solved my problem.

    Plugin Author businessdirectoryplugin

    (@businessdirectoryplugin)

    Glad it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Full sized images’ is closed to new replies.