Support » Plugins » adding select image custom fields to cms

  • Hi all

    I want to do something I assume is relatively simple (i hope i’m correct).

    I basically want to have a custom cms page that has pairs of images and labels for those images defined within it. I intend to use these pairs of items for populating content on a custom page of my new wordpress theme.

    I have managed to make a new area of the settings area within the cms and populate any number of text boxes within it all thanks to this:

    Handling Plugins Options in WordPress 2.8 with register_setting()

    I just now need to add fields for each text box that let a user open up the media browser and then select an existing image uploaded to wordpress or upload a new one for selection.

    I haven’t been able to find any simple clean examples of this online.
    Just for the record; I initially planned to do this with a plugin (developers custom fields) which I already have installed, thinking it would be very easy with this plugin to add custom image fields because it is pretty simple adding text boxes with it. However I seem to be wrong and no clear examples exist for specifying this kind of field.

    If you know of any examples that illustrate adding custom image fields, either using native wordpress api code or integration with the developers custom fields plugin I would be most grateful!

    Thanks for your time!

  • The topic ‘adding select image custom fields to cms’ is closed to new replies.