Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7265

    Hi there,

    I have had a look through the forum and cant find an answer, i might be missing it.

    Currently trying to setup 3 pages and the home page to have the 3 columns with 3 preview images and excerpt linking to each page. When I add the featured image required for the page being 620px x 200px this looks perfect but it crops the image for the homepage preview to be 300px x 170px and misses important parts of the picture.

    Is there a way I can have a seperate image for the page and the preview? so I can create the image how I want it to look the correct size before hand?





    in your functions.php file you’ll find all the image sizes. When you upload a new image it’ll automatically create these – try changing the values to your liking and then re-upload your image, it should now create new thumbnails/other image sizes to your liking.

    Let us know if it works or if ou have any questions :)


    I Chris,

    Im happy with the actual sizes of the preview images being 300px x 170px so dont need to change the sizes, but when I upload an image to the page using the featured image tool for the image on the page I have to create that image the size needed for the page at 620px x 200px then the automatic cropping and sizing for the preview image outputs at the right size but not the correct part of the image, so important parts of the picture are cropped.

    How can I upload an image for the page and only the page and then upload a seperate image for the preview image. This way I can create a seperate image showing the correct parts of the image at 300px x 170px and not let the automatic cropping of the wrong parts of the image happen?




    You could remove the inclusion of the image at the top of your pages and then manually put the image in again. This way you’d have your featured image as a preview and any other image at the top of your page.

    To do this you can go in your theme folder to includes. Open up loop-page.php.


    //call the function that displays featured images and slideshows within posts
    $slider = new avia_slideshow(get_the_ID());
    echo $slider->display_small($avia_config['size']);


    <h1 class='post-title'>
    <?php the_title(); ?>

    Now you can just put your image in the post through the upload media feature. You can also include H1’s to get the title back. Let us know if this works for you :)

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

The topic ‘Featured Images and Preview’ is closed to new replies.