programmer to resolve a small error in k-rate image rating script

Discussion in 'Programming' started by arcguy, Sep 26, 2007.

  1. #1
    hi
    i just purchased a k-rate image rating script but i got a problem, the problem is " additional photos in any profile are not shown" you can see the error page here
    below the main rated image, under the additional photos
    I need to make them working small images.
    Please tell me if you can make it working.
    Thanks
     
    arcguy, Sep 26, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Your image source is a JavaScript function call, example:
    <img src='javascript:setimage("/images/pictures/107-252.jpg","");' class="thm_image"></a>
    Code (markup):
     
    krt, Sep 26, 2007 IP
  3. arcguy

    arcguy Well-Known Member

    Messages:
    1,056
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    153
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Thanks for taking interest but still i am unable to get any clue to solve the problem. can you please describe it and suggest a solution??
     
    arcguy, Sep 26, 2007 IP
  4. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Replace the javascript call in:
    <img src='javascript:setimage("/images/pictures/107-252.jpg","");'
    Code (markup):
    To the path to the actual image:
    <img src='/images/pictures/107-252.jpg'
    Code (markup):
    Note that is probably not 100% right as that will show full size photos instead of thumbnails. Does your script that you are working on generate thumbnails, or are you planning on resizing the pictures to a smaller size?
     
    krt, Sep 27, 2007 IP