Display images in home page grid… how? help please?

Community Forums Forums Design Tips and Tricks Display images in home page grid… how? help please?

This topic is: not resolved

This topic contains 8 replies, has 2 voices, and was last updated by  AC 1 year, 5 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #51636

    Fabio
    Participant
    Post count: 187

    Hi there,
    this time I feel like I’m asking something difficult, but let’s see, maybe it’s easier than I think!

    So, on the home page of my test site:

    http://exclusiveskills.com

    you can see posts displayed in a grid, unfortunately you can’t see the images.

    I want to see the images, not the titles. Since they are image-posts all I want is being able to have a grid of pictures that the reader can click to go to the post page.

    I want the image to not be cut, but I want to be able to see it all (of course smaller, then when you click on it you get on the post page and see it full size).

    How do you do that?
    I’ve tried to play with the function.php and home.php but after crashing my site a couple a times I decided to ask for help!

    Fabio

    #51642

    AC
    Blocked
    Post count: 7712

    Go to your Home.php file and look for something similar to this:

    [php] ‘grid_image_size’ => ‘grid-thumbnail’,
    ‘grid_image_class’ => ‘alignnone’,
    ‘grid_content_limit’ => 250,
    ‘more’ => __( ‘[Continue reading]’, ‘genesis’ ),[/php]

    Replace YOURS with MINE.

    Now open up your Functions.php file and look something similar to this. If the grid-thumbnail image is not in there – add it.

    [php]
    /** Add new image sizes */
    add_image_size( ‘grid-thumbnail’, 110, 110, TRUE );
    add_image_size( ‘featured’, 340, 220, TRUE );
    [/php]

    <b>**Note**</b>Because of the type of content you have on your website – if you need to post again – please put a disclaimer on the post so that people know it may be X-Rated. Thank you.

    #51646

    Fabio
    Participant
    Post count: 187

    Hi Anitac,
    thanks for your reply.

    I’ve copied and pasted this:

    /** Add new image sizes */
    add_image_size( 'grid-thumbnail', 110, 110, TRUE );
    add_image_size( 'featured', 340, 220, TRUE );

    at the bottom of my function.php

    and swapped this

    
    'grid_image_size'               => 'grid-thumbnail',
        'grid_image_class'              => 'alignnone',
        'grid_content_limit'        => 250,
        'more'                      => __( '[Continue reading]', 'genesis' ),

    with the pre-existing similar bit in my home.php

    but absolutely nothing changed.
    Could you please check if I did it wrong or what?

    Thanks
    p.s. I’ll write xrated next time :)

    #51647

    AC
    Blocked
    Post count: 7712

    Do you have any images in there as your Featured Images?

    #51649

    Fabio
    Participant
    Post count: 187

    The images are automatically imported by rss feed, it doesnt set any featured image I think.
    Is there a way to make the post-image the featured image by default?

    Thanks

    #51682

    Fabio
    Participant
    Post count: 187

    Hi there,
    when I manually set a featured image it appears very small. I’ve tried to change the numbers here:

    /** Add new image sizes */
    add_image_size( 'grid-thumbnail', 110, 110, TRUE );
    add_image_size( 'featured', 340, 220, TRUE );

    but nothing changed and the image appears tiny.

    Also, I don’t know what happened but after I pasted the code you gave me the titles of my posts in the grid appear to go “out of the grid” which is pretty ugly looking.

    Could you please help me fix this?
    Thank you

    p.s. Brad Daltoooon! Please come help!

    • This reply was modified 1 year, 5 months ago by  Fabio. Reason: forgot to ask for Brad's help!
    • This reply was modified 1 year, 5 months ago by  Fabio. Reason: forgot to ask for Brad's help!
    #51694

    AC
    Blocked
    Post count: 7712

    You need to regenerate your thumbnails when you switch images sizes. Install this – http://wordpress.org/plugins/regenerate-thumbnails/. If you want the images to float to the left – change alignnone to alignleft also.

    #51697

    Fabio
    Participant
    Post count: 187

    Hi Anita, thanks.
    The thing is that I don’t want a stretched looking thumbnail, but I would like to see the image in high definition and bigger.
    Also, I still haven’t found a way to get the image in the post to be set automatically as featured image.

    Is there a way to get the image in the post to be automatically displayed in a grid like a “photo gallery”?

    Since I’m going to post thousands of pictures multiple times a day I would like the home page to be like a photogallery that updates continuously every 10 minutes throughout the day.

    I know it would be easier to change theme altogether, but I need to use this theme.

    Thanks

    #51708

    AC
    Blocked
    Post count: 7712

    I am a bit confused by what you want. I see one of the thumbnail images on the page. The theme will not upsize an image, it will only downsize. You have to set up your thumbnail image sizes, then add the featured image to your posts via the Featured Image function. As I stated before, you will then need to regenerate your thumbnail images if you ever change the size of the thumbnails in the functions.

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

You must be logged in to reply to this topic.