WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Using add_image_size With Magic Fields

[Resolved] Using add_image_size With Magic Fields

  • johnnyrokkit

    @johnnyrokkit

    Greetings.

    How would I go about pulling a specific custom image size from an image in a Field?

    For instance, I’d like to use Magic Fields to upload a “Logo”, an “Image1” and “Image2” — and I am using the WordPress add_image_size function to create multiple sizes of each uploaded image for use on different parts of the site.

    Assuming I have two custom sizes defined “image-size-small” and “image-size-large“, how would I for instance, pull “image-size-large” of the image “Image1” and then pull “image-size-small” from “Image2“?

    Much gratitude and thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Using add_image_size With Magic Fields’ is closed to new replies.
Skip to toolbar