Tagged: ajax portfolio, blurry, image
-
AuthorPosts
-
March 15, 2014 at 5:50 pm #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.March 16, 2014 at 5:08 am #238188Hey 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,
IsmaelMarch 22, 2014 at 5:39 pm #241647Hi 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, 8 months ago by Snerp.
March 23, 2014 at 4:20 am #241722Hey!
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!
IsmaelMarch 23, 2014 at 4:56 pm #241817Hi 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
StepsMarch 23, 2014 at 6:12 pm #241832Hi Ismael, the code is giving me a syntax error.
March 24, 2014 at 4:41 am #241926Hey!
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,
IsmaelMarch 24, 2014 at 11:09 am #242008Thanks 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.
StephMarch 25, 2014 at 7:28 am #242554Hey!
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,
IsmaelMarch 25, 2014 at 10:54 am #242644Thanks so much!
-
AuthorPosts
- The topic ‘Ajax Portfolio Main Image is Blurry’ is closed to new replies.