If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Hello. Regarding the ajax portfolio, when I select “choose preview image size” instead of “automatically set image size”, it seems like the featured portfolio images are getting resized instead of the preview image. Is this correct? If I select “automatically set image size”, the featured image in the grid looks fine, but I would still like to have a smaller preview image. Hopefully this makes sense. Thanks.
The preview image or thumbnails depend on the number of columns you’re using. How many columns do you have on your portfolio page?
Hi Ismael. I’m using 4 items per row and I believe 12 total items per page. I would just like to know how I can change the image dimensions of the preview image. As I mentioned above, setting my custom preview image size is changing the size of the portfolio items also. If this doesn’t make sense, I can try and attach a screen shot.
I checked the portfolio grid code and it seems like you can’t control the preview thumbnail size at all. I’ll mark this thread for Kriesi – maybe he wants to add an option. For now open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php
and search for:
$params['preview_size'] = "gallery";
Replace “gallery” with any other valid image size:
Might be a little confusing because the description talks about preview images but actually means the grid images, not the ajax preview. WIll rename that and add a filter to the size, since I dont want to add yet another option to the grid element.
Lets keep it simple for the average user ;D
The topic ‘Preview Image Size’ is closed to new replies.