Images increase load time too much
-
I’m setting up a PDF download for a client’s site to integrate into their woocommerce products. If I add the following code to add the product thumbnail, it takes SO MUCH longer to generate. (like excess of 30 seconds, instead of 2 seconds without the image)
if(has_post_thumbnail()) { $pdf_output .= get_the_post_thumbnail( $post, 'woocommerce_thumbnail', '' ); }
And this is using the small 300×300 woocommerce image thumbnail size.
Is this a known issue? How can we improve this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Images increase load time too much’ is closed to new replies.