February 19, 2012 at 9:07 pm #9427
Hello kriesi team ! I started to create my portfolio with a great slideshow (4 columns, 12 post). However it seems that some thumbnails react differently than they should :
- Problem of thumbnail height that varies with the image size. (I’d like the size to be the same whenever images inside have different sizes.)
- problem of greyscale hover (wrong scale with the original image underneath).
I read a few posts on this topic, but can’t find any real solution. Tried to activate the “regenerate thumbnail extension” but no effect.
You can see the problem on this page : http://www.mallorykwiat.com/portfolio/
Thanks a lot for your help.February 20, 2012 at 7:43 am #64695
1) You can activate image cropping if you like. Open up functions.php and search for following two lines:
$avia_config['imgSize']['post-format-image'] = array('width'=>630, 'height'=>999, 'crop'=>false); // big images for post format image and gallery posts
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930, 'crop'=>false); // big images for lightbox and portfolio single entries
Replace them with:
$avia_config['imgSize']['post-format-image'] = array('width'=>630, 'height'=>999); // big images for post format image and gallery posts
$avia_config['imgSize']['fullsize'] = array('width'=>930, 'height'=>930); // big images for lightbox and portfolio single entries
You can adjust the dimensions too (I’d only adjust the height values). Then regenerate the thumbnails with: http://wordpress.org/extend/plugins/regenerate-thumbnails/
2) the images have the right size. This effect occurs since the latest update (1.1.1+) which uses standard canvas elements instead of the dynamic js canvas generation (which was removed because of performance reasons). However because of a bug in some browsers it seems like some of them can’t position this canvas element (= greyscale filter) properly (in the reponsive grid) and it shifts 1 or 2 pixel to the right. If Kriesi finds a solution he’ll fix it but he hasn’t found one yet.March 5, 2012 at 1:29 am #64696
Dude, I tried your suggestion to activate image cropping in the functions.php file, but I’m still seeing thumbnails with different heights.
Is there any other way to fix this? It kind of defeats the purpose of a grid when it’s not lined up properly…
HeatherMarch 6, 2012 at 5:54 pm #64697
I’m having problems as well. Sometimes it works, sometimes it doesn’t. I’ve tried regenerating the thumbnail, this is a very odd problem since so far my other posts have been responding properly but something must be coded weird since I’m not the only one with this issue.March 6, 2012 at 8:50 pm #64698
I also did the functions.php modification, regenerated the thumbnails and they don’t regenerate, it fails to do so.March 6, 2012 at 8:55 pm #64699
I also did the functions.php modification, regenerated the thumbnails and they don’t regenerate, it fails to do so.
My solution was to play with the photo image size, change .jpg to .png for one of the photos. I’m not sure if this will work on all browsers and if this is a permanent solution or not, but it worked for me. It’s kind of an absurd waste of time and I’m hoping the support team figures this out very soon because it is a huge problem and is quite the headache to an otherwise simple interface and theme.
The topic ‘thumbnail size problem in portfolio slideshow’ is closed to new replies.