If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
After adding 5 images for avicordion at front page, as I’ll not use any full size 2d or 3d sliders any more and I need to save ftp space and thumbnails processing, I commented out ‘featured’ image size in functions.php.
As Aviacordion is using ‘featured’ width size at line 56 in helper-slideshow.php my generated width for aviacordion image is ” px;”
Can we in functions.php somehow define ‘default’ image sizes before generating thumbnails, so if we generate thumbnails, everything is the same, and if we comment out thumbnail generation we still get default image width and height for use in code like in my case for aviacordion in helper-slideshow.php
The topic ‘Define img sizes in functions.php for use in code without generating thumbnail?’ is closed to new replies.