WordPress.org

Ready to get started?Download WordPress

Forums

Custom Fields Creator
[resolved] Use thumbnails with images (6 posts)

  1. circlecube
    Member
    Posted 2 years ago #

    I've created my own custom fields on a few themes before for uploading images. This one is very nice and fast! Kudos!

    I have a suggestion though. Rather than pulling the url to the uploaded image attachment, would it be possible to pull in the attachment id? That way in my template code I can have the option to either pull in the full size image (the same as what it does now), and any other sizes that I've registered with WP - this would be especially useful in pulling a gallery together of multiple images. It'd be bad practice to load a lot of full size images. Granted it could be more code then to pull the full size image for simple cases, but if someone is getting into the php anyways, it's not too hard to get the full img url once you have the attachment id with wp_get_attachment_image_src (http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src).

    http://wordpress.org/extend/plugins/custom-fields-creator/

  2. madalin.ungureanu
    Member
    Plugin Contributor

    Posted 2 years ago #

    We already have implemented this and it will be released in the next update which will be coming shortly.

  3. circlecube
    Member
    Posted 2 years ago #

    Great to hear! Thanks for the update.

    Now I'm eagerly awaiting the next update!

  4. circlecube
    Member
    Posted 2 years ago #

    resolved

  5. circlecube
    Member
    Posted 2 years ago #

    Latest update 1.0.2 includes this, Thanks!

  6. brendanrandall
    Member
    Posted 1 year ago #

    Hi circlecube,

    Just wondering if you had an example of this in use?

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic