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.

Change the code of the image.

Discussion in 'Commission Junction' started by Dor77, Sep 26, 2012.

  1. #1
    I want change the size of the image by change the code, not the image (with photoshop or somthing like that).
    For example:
    This if the original code:

    <a target = "_top"> <img src = "http://www.fragrancex.com/images/products/SKU/big/1MMTS67.jpg" border = "0" alt = "1 Million Cologne by Paco Rabanne, 6.7 oz Eau De Toilette Spray for Men "/> </ a> <img src =" http://www.ftjcfx.com/image-5486700-10297375 "width =" 1 "height =" 1 "border =" 0 "/ >
    
    PHP:
    This is the new code:

    <a target = "_top"> <img src = "http://www.fragrancex.com/images/products/SKU/big/1MMTS67.jpg" border = "0" alt = "1 Million Cologne by Paco Rabanne, 6.7 oz Eau De Toilette Spray for Men " width="200" height="200"/> </ a> <img src =" http://www.ftjcfx.com/image-5486700-10297375 "width =" 1 "height =" 1 "border =" 0 "/ >
    PHP:
    I add: width="200" height="200".

    I can do this?
    Some advertiser may not allow to do this?

    Thanks!
     
    Dor77, Sep 26, 2012 IP
  2. DukeAce

    DukeAce Member

    Messages:
    137
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Yes of course, playing with the original code is risky according to Commission Junction themselves. Usually, advertisers have many kinds of banners, like for headers, footer, skyscrapper etc. But! if the advertiser you are working with, does not have your kind of ad, then you will just have to bear it and place it on your site at some place you don't actually like.

    Another way around this, is to contact the advertiser directly and ask for permission from them. If they say 'YES', then go ahead and change the size of image just the way you want it to be. Just don't do this without their acknowledgment and don't let them catch you off-guard.
     
    DukeAce, Oct 1, 2012 IP
  3. Mr.Dog

    Mr.Dog Active Member

    Messages:
    912
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I'd say that's a minor adjustment... but it's an HTML code, not PHP as you said. Yes, sure you can insert it into HTML.
    I'm not sure what CJ will say today to code editing, but you'd better ask them.

    I know AdSense doesn't allow anything, not even color editing. All editing must be done from the account...
     
    Mr.Dog, Nov 4, 2012 IP