Tagged: 

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

    I’m seeing that the thumbnail images automatically generated by my portfolio pages are both not uniform in size, and randomly cropped/resized. I would like to upload a custom-made thumbnail for each portfolio item, but I have no idea if that’s possible. Suggestions?

    My site is http://www.alainaho.com

    #96890

    Hi alainaho,

    Kindly open wp-contentthemesangularfunctions.php and find this line of code:

    $avia_config['imgSize']['portfolio'] = array('width'=>465, 'height'=>346); // images for portfolio entries (2,3,4 column)

    and replace it with:

    $avia_config['imgSize']['portfolio'] = array('width'=>465, 'height'=>346, 'crop'=>true); // images for portfolio entries (2,3,4 column)

    This will crop the images you have uploaded to make sure it will have uniform size without considering the aspect ratio of the image. Then kindly use the Regenerate plugin to regenerate all your images, http://wordpress.org/extend/plugins/regenerate-thumbnails/

    I also noticed that some of the portfolio columns are too long which pushes the image below it. Try to make it shorter so they also have uniform size in space. Hope this helps.

    Regards,

    Ismael

    #96891

    Thanks for the response, but that still doesn’t directly address my original question–can I upload custom thumbnails for my portfolio items?

    #96892

    Hi alainaho,

    I’m not sure what you mean by custom thumbnails, I thought you refer on the size of the custom thumbnails that is shown on the portfolio entries (you can do that by adjust thing the height and width of the code above). If you are referring on uploading a custom thumbnail and replaced the old image, I believe you have already done it on your site.

    Regards,

    Ismael

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

The topic ‘Displaying Custom Thumbnails’ is closed to new replies.