• 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”

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

    https://www.ads-software.com/extend/plugins/custom-field-template/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hiroaki Miyashita

    (@hiroaki-miyashita)

    Use the file type.

    [image_value]
    type = file
    relation = true

    Also, you can output the image easily.

    [cft key=image_value image_size=thumbnail]
    Thread Starter banica

    (@banica)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom fields for uploading a image?’ is closed to new replies.