Custom Field Template
Custom fields for uploading a image? (3 posts)

  1. banica
    Posted 3 years ago #

    Im currently making a site where people can post and put thumbnails on their posts. My site uses image_value for the thumbnail but users have to upload them using the wordpress uploader then copy the link in the field. Is there a way just to add a button so they can upload it and the link value goes it "image_value"

    type = text
    size = 60
    label = Картинка:


  2. Hiroaki Miyashita
    Plugin Author

    Posted 3 years ago #

    Use the file type.

    type = file
    relation = true

    Also, you can output the image easily.

    [cft key=image_value image_size=thumbnail]
  3. banica
    Posted 3 years ago #

    Thank you so much for this. For the output of the image im using timthumb on my theme and i dont really know how to change it lol.

    EDIT: Is there a way for the custom field to be the link to the image after its uploaded? My entire site generates thumbnails from links to the images.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Field Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.