If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 24, 2012 at 7:07 pm #15675
Could someone please tell me how to change the size of the portfolio slideshow container?
ThanksAugust 24, 2012 at 7:21 pm #88500
Do you want to change the amount of space the slideshow takes up in the Ajax portfolio (same page portfolio) or on the single page portfolio?
What do you want to happen to the other column for the portfolio content (meta data and text in the visual editor)?
DevinAugust 24, 2012 at 7:29 pm #88501
Thanks for the response. Basically, i’ve noticed a deterioration in image quality (blurry) with the Ajax portfolio. On closer inspection, it looks like my Ajax portfolio is slightly wider than the single page portfolio where the image is pin sharp. I’ve run the WP Thumb Regeneration with no success.
Do you know what could be causing the slight difference in size?
ThanksAugust 24, 2012 at 7:38 pm #88502
I’ll need to take a look at your site live. Its probably a slight difference in the ratio of the image size which is cause the theme to stretch the image just slightly in a unexpected direction.August 24, 2012 at 7:45 pm #88503
it’s still on my local machine at the moment. Is there a way I can get something to you? Or provide you with any more information?
Thanks DevinAugust 25, 2012 at 4:23 am #88504
The AJAX portfolio is using this thumbnail on functions.php
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
You might want to change the width and height then regenerate thumbnails.
IsmaelAugust 25, 2012 at 3:00 pm #88505
I’ve tried doing that. What i’ve also noticed is when the Ajax portfolio initially loads the column thumbnails, the images go slightly blurry too. This is the case with the Ajax large portfolio images too.
ThanksAugust 25, 2012 at 11:53 pm #88506
You can generate new thumbnail size. On functions.php, find this code
$avia_config['imgSize']['logo'] = array('width'=>465, 'height'=>220); // images for dynamic logo/partner element
Copy and paste it below. Then change “logo” into something else example “new-portfolio-thumb”. Set the width and height. Now go to includes > helper-templates.php and find this code.
$slider -> setImageSize('fullsize');
Replace it with our new thumbnail size.
$slider -> setImageSize('new-portfolio-thumb');
Regenerate thumbnails, remove cache and reload the page. See if it works. Suggested width and height is 581x387px respectively.
IsmaelAugust 27, 2012 at 4:22 pm #88507
After lots of trial and error – it looks like it’s Firefox that seems to blur the images! Safari is pixel sharp. Haven’t tried IE as of yet.
I would still like to understand how to change with width of the Ajax portfolio though?
Any help would be most appreciated?
many thanks all.August 29, 2012 at 3:35 pm #88508
Sure thing! Its actually pretty simple to just change the column size. For the Ajax portfolio, the function is in includes>helper-templates.php. Just search for:
echo "<div class='inner_slide'>";
This is the start of the div that gets created. Just below that you can see the two_third first class that will hold the slider and then the one_third to hold the text and title. You can use any of the column classes in grid.css lines 220-230 though some may need a bit of adjustment.
DevinAugust 30, 2012 at 7:25 am #88509
The topic ‘Portfolio Size’ is closed to new replies.