1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Ttop Duplicate Image Instead Allow User To Choose Size?

Discussion in 'WordPress' started by macaela, Feb 2, 2013.

  1. #1
    Hi at moment whenever I upload an image it uploads all the different thumbnails sizes I've created, as I have four pages each needs a different image size, so I've created four different thumbnail on the function.php, but the problem is whenever I upload one image all four sizes are upload aswell, is it possible to set so that if user tick large image upload large image only no duplicate image, if small upload one small too no duplication?
     
    macaela, Feb 2, 2013 IP
  2. iMarcus

    iMarcus Active Member

    Messages:
    122
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #2
    You may be able to put the add_image_size() function in a conditional section, dependent on the box ticked on the form. Other than that I'm not sure this is possible.
     
    iMarcus, Feb 2, 2013 IP
  3. macaela

    macaela Active Member

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    yeah that sounds like the case but i dont even know if its possible i've look around cant find any starting point to achieve that, any idea how?
     
    macaela, Feb 2, 2013 IP