WordPress.org

Ready to get started?Download WordPress

Forums

Featured image creation code (2 posts)

  1. nbaxley
    Member
    Posted 3 years ago #

    I'm using some custom code to make the header image a random featured image from among all the posts in a certain category. I've got that part working well, but I'd like to make it easier to create the header sized featured image. The posts in the category consist of a single image that the header is usually a portion of. What I'd like to be able to do is allow the user to easily create a featured image of the correct size from the full size image inserted in the post. I couldn't find a plugin to do this, and I'm just getting started with WordPress development, so I'm not sure where to start on something like this. Can anyone point me in the right direction as to how to go about creating a tool like this?

  2. Mobbin01
    Member
    Posted 3 years ago #

    I can't help you out per say, but I will tell you that the current wordpress template I am using has a featured post function, but not like the one you are describing, which is much better.

    The problem with mine is that, yes the featured picture goes to the home page slider, but it also inserts the picture no matter what at the begging of your blog post at dimensions that you, the user do not control.

    I would like to be able to insert an image of my choice into the home page slider, then not be forced to have that image at the beginning of my posts. Sort of a rant here but your development sounds good to me!

Topic Closed

This topic has been closed to new replies.

About this Topic