Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #238100

    Not sure why, but the portfolio image is slightly blurry – see this screen cap/link http://d.pr/i/xUSd
    I have looked over other posts but couldn’t find the answer that would resolve this. The original image size is 900 x 606.

    #238188

    Hey Snerp!

    Can you please give us a link to the website? You can edit functions.php to increase the image size for the ajax portfolio preview image, look for this code:

    $avia_config['imgSize']['gallery'] 		 		= array('width'=>710, 'height'=>575 );						// images for portfolio entries (2,3 column)
    

    Increase the width and height. Something like this:

    $avia_config['imgSize']['gallery'] 		 		= array('width'=>900 'height'=>600 );						// images for portfolio entries (2,3 column)
    

    Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Ismael

    #241647

    Hi Ismael,

    I have a child theme and a blank functions.php file already loaded. If I change the function as you have shown, I would like to use the child theme’s function.php. I was going to do this myself but noticed your functions uses a global var. So I’m not sure how to set the the child theme’s function.php file correctly. Could you take a look?

    Here is the FTP info:

    • This reply was modified 10 years, 9 months ago by Snerp.
    #241722

    Hey!

    You can use this on the child theme’s functions.php:

    function avia_change_image_size_array() {
    global $avia_config;
    $avia_config['imgSize']['gallery'] = array('width'=>900, 'height'=>600 );						// images for portfolio entries (2,3 column)
    avia_backend_add_thumbnail_size($avia_config);
    }
    add_action( 'init', 'avia_change_image_size_array', 1);

    Cheers!
    Ismael

    #241817

    Hi there,
    I’ve been uploading 495x400px images as “featured images” for my portfolio and they look rather pixelated and squashed. I even tried bigger images and here again, same problem.
    How can I get my featured image crisp and sexy?
    Thanks
    Steps

    #241832

    Hi Ismael, the code is giving me a syntax error.

    #241926

    Hey!

    I updated the code above, please use it. :)


    @SteffiPasson
    : 495px is quite small. Please use images with at least 1500px in width. Smaller images about 1000px is ok.

    Regards,
    Ismael

    #242008

    Thanks so much Ismael, but for a featured image only? It’s the thumbnail image of a portfolio item for the Ajax portfolio I believe. The screenshot of this thumbnail is 495px.
    1500px for this seems quite big, to be honest.

    P.S. How can I start my own thread by the way?
    Thanks so much for your support.
    Steph

    #242554

    Hey!

    Use 1500px image then the theme will re-size or break the image down to smaller thumbnails. If you want to create a new topic, just browse through theme list and look for the current theme that you’re currently using. Scroll below, you’ll see the “Create New Topic” section.

    Regards,
    Ismael

    #242644

    Thanks so much!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Ajax Portfolio Main Image is Blurry’ is closed to new replies.