Support » Plugin: GD bbPress Attachments » Option for image attachment display size?

  • Hello, Love the plugin. I have a lightbox setup automatically for the images that are uploaded with this plugin. What about adding a setting to be more bandwidth friendly?
    I’ve modified the plugin on line 265 in gd-bbpress-attachments/code/attachments/front.php :

    $img_details = wp_get_attachment_image_src($attachment->ID, 'large');
    $file_url = $img_details[0];

    So that the users aren’t downloading the full image. You could setup an admin option to ask for the size on the wp_get_attachment_image_src call too.

    Thanks, Joe

  • The topic ‘Option for image attachment display size?’ is closed to new replies.