Results 1 to 14 of 14
  1. #1
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    Need help resizing cj link image
    I have a javascript image link that is way too big. Anything I can do to make it smaller without screwing up commissions?

    Thanks

  2. #2
    Newbie
    Join Date
    September 9th, 2006
    Location
    Houston, TX
    Posts
    13
    If it doesn't break their TOS, you could just set the parameters different if
    you can figure out which ones they are.

    In other words, if the says

    you could change that to:



    Usually that will work if you keep the dimension in proportion; like in this case
    both were reduced by 50% - reducing one by 50% and the other by 25% to
    make it fit better will probably make it look terrible.

    Another option is to use a program like Irfan View (Google it - it's free). Then
    you can load the image in your browser, right click and copy it, paste it into
    Irfan View and click Image in the menu bar and then click resize/resample.
    It will keep all the dimensions in proportion for you. Save it and upload it to
    your server and use that img link instead of the one from CJ.

    Again, check their TOS or look for a better fitting image.

  3. #3
    Chick with Brains Tracy's Avatar
    Join Date
    January 18th, 2005
    Location
    Polk County, Florida
    Posts
    1,878
    Not in javascript. You can't change anything. (See another post from last month about changing Javascript: Newbie at CJ, wondering about creating links for reasons it is better to use html instead of javascript.)

    The only away around it is to use the html if it is offered. Then you can use a different image. I often have a problem with the way too large images offered in the links provided at CJ. If you visit the merchant's site, they usually also have a smaller "thumbnail" version you can use instead.

    Failing that, then the best thing to do is to resize the image yourself in a paint program, upload it to your website and host it yourself.

  4. #4
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    Thank you, bivie. I don't see anything indicating height or width in the link code. Would it look like something else besides "height" or "width"?
    How do I modify the code to use an uploaded image?
    [edit]
    oops...
    Thanks Tracy. I didn't see your post before.

  5. #5
    Newbie
    Join Date
    September 9th, 2006
    Location
    Houston, TX
    Posts
    13
    If you want to PM me the code, I'll take a look at it to
    see if it can be modified. If it can, then you'll know how
    for next time

  6. #6
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    I wish I could, bivie, but I have not been entrusted with pm privileges..

    The day that I am I will spam the daylights outta this site. Policies be damned.

  7. #7
    The Seal of Aproval rematt's Avatar
    Join Date
    November 19th, 2006
    Location
    The Windy City
    Posts
    4,140
    Quote Originally Posted by echi
    I wish I could, bivie, but I have not been entrusted with pm privileges..

    The day that I am I will spam the daylights outta this site. Policies be damned.
    You probably just set your PM privileges back about 6 years or 11,000 posts. Whichever comes first.

    -rematt
    "I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant." - Richard Nixon

  8. #8
    Full Member bobby131313's Avatar
    Join Date
    November 12th, 2007
    Location
    Dover, DE
    Posts
    550
    I have found, through many years of experience in running forums, that people who have never run a forum always know better how to run one. Just ask them.

  9. #9
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    okay. thanks everybody.
    Does anyone know how I can get my code to bivie? or to anyone willing and able to help me? PLEASE.

  10. #10
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    seriously...
    if anyone has any suggestions I would very much appreciate it. I really need to get this worked out.

    (and I was only kidding with the spam comment...obviously)

  11. #11
    The Seal of Aproval rematt's Avatar
    Join Date
    November 19th, 2006
    Location
    The Windy City
    Posts
    4,140
    Echi, I think Tracy answered your question above. If the merchant is only offering javascript then you may need to contact them to see if they will create a custom link for you. If an html version is available, use it and modify as suggested by Tracy.

    -rematt
    "I know that you believe you understand what you think I said, but I'm not sure you realize that what you heard is not what I meant." - Richard Nixon

  12. #12
    Newbie
    Join Date
    February 3rd, 2008
    Posts
    7
    thank you, rematt.

    I switched from javascript to html, but I still don't quite get it. I may be too much of a newbie for this forum.

  13. #13
    Chick with Brains Tracy's Avatar
    Join Date
    January 18th, 2005
    Location
    Polk County, Florida
    Posts
    1,878
    Look for the part of the url to the merchant's site for the image. If the merchant has a smaller version on the site, replace the image in the coding with the url for the smaller version.

    If the merchant does not have a smaller image. Copy the image into a paint program. Reduce it to the site you want. Upload it to your server and host the image yourself.

  14. #14
    Newbie
    Join Date
    September 9th, 2006
    Location
    Houston, TX
    Posts
    13
    echi, I got your email (good job of tracking me down )

    I replied to it today with the solution (works very well by the way)

    If you didn't receive it, post in here and let me know. Check your spam folder because
    it came from a business email address, which may have been junked (though I don't
    spam - seems most email providers these days think if you own a business you're a
    spammer?)

  15. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Image resizing
    By burnden in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: December 31st, 2006, 10:56 PM
  2. Resizing an image when using product creater
    By purplebear in forum ShareASale - SAS
    Replies: 9
    Last Post: August 10th, 2006, 09:33 AM
  3. Hotlinked Image Resizing
    By TK in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: January 4th, 2006, 03:30 PM
  4. Resizing an image with WM-ImagePath tag
    By billbam in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: June 11th, 2004, 08:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •