Picture Size (3 posts)

  1. Carla Hughes
    Posted 3 years ago #

    I have pics in a gallery, but when you click on the pic to see the full version, part of it cuts off. Does anyone know what size the pics have to be in order to view the whole thing? Thanks

  2. zellerbrook@gmail.com
    Posted 2 years ago #

    I'm having the same problem, and I see that there hasn't been any replies in 4 months. What gives?

  3. Thomas7479
    Posted 2 years ago #

    Yesterday I´ve had the same problem and solved it in my way:

    An optimum size for the picture should be a width of about 700px.

    Anyway you can automatically resize the pictures:
    The preset paramete inside the image.php is 1200px (I don´t know why? - it doesn´t fit)

    You can adapt the value: (I changed it from 1200 to 700)

    $attachment_size = apply_filters( 'fotogram_attachment_size', 700 ); echo wp_get_attachment_image( $post->ID, array( $attachment_size, $attachment_size ) ); // filterable image width with, essentially, no limit for image height.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic