Create an image using add_image_size() only when uploading from a certain page (1 post)

  1. David Gard
    Posted 4 years ago #

    Hey all,

    I'm using add_image_size('service-banner', 150, 84, false); to set a new image size when uploading

    Is there a way to make it so that WP will only create an image of that size if the image is uploaded through a certain page (say ID 1234)? Basically I'll never need that size for any other purpose, so it seems silly to create a version evert time I uplaod an image.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.