Size of pictures in portfolio pages

This support request was posted in Bref by maloria

Request ID #1217 Resolved
  • Hi Juan,

    How can I change the size of the images in individual portfolio entries? They are too big…

    Thanks!
    D

    Juanfra Aldasoro

    Hi D,

    You can edit the file single-portfolio.php, lines #52 and #66.

    nice_image( array ( 'echo' => 0, 'width' => 730, 'class' => 'wp-post-image', 'src' => $src ) ). "\n";
    

    You can set the height by putting something like this:

    nice_image( array ( 'echo' => 0, 'width' => 730, 'height' => 400, 'class' => 'wp-post-image', 'src' => $src ) ). "\n";
    

    Best,
    Juan.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server