Viewing 1 post (of 1 total)
  • Author
  • #7009


    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

    Make sense?

Viewing 1 post (of 1 total)

The topic ‘Define img sizes in functions.php for use in code without generating thumbnail?’ is closed to new replies.