I changed my product image size but can't resize it as I like, I have problem in image high ..please help..thanks

  • Profile Image
    ahmad_faisal
    Asked on May 28, 2011 at 05:25 AM
  • Profile Image
    NeilVicente
    Answered on May 28, 2011 at 02:22 PM

    Hi,

    Unfortunately, product images in payment forms cannot be resized explicitly. Images are hardcoded to have a 50px by 50px resolution. It was made this way to provide uniformity in the form.

    However, you can bypass this by injecting this css code:

    li div span img.form-product-image {
    width: 100px;
    height: 100px;
    }

    Adjust the properties to suit your preference. Note that setting the individual heights and widths for the images is not possible because the span tag that holds them has the same class name.

    Let me know how this works for you. I'll be awaiting your updates. Thank you.


    Neil

  • Profile Image
    ahmad_faisal
    Answered on May 29, 2011 at 02:27 AM

    Dear Neil,

    Thank you very much for all assistance .This code works good

    Thank you again

    Ahmad.F

  • Profile Image
    mksimseker
    Answered on March 28, 2012 at 04:55 PM

    hii this code not working how injec code pls tellme again or you desgin change  pls tellme

    i want change product image size

  • Profile Image
    NeilVicente
    Answered on March 28, 2012 at 05:00 PM

    @mksimseker

    Refer to this user guide to learn how to inject custom css codes to your form:

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    If you're still having problems, please open a new thread for your question. Thank you!

  • Profile Image
    mksimseker
    Answered on March 29, 2012 at 01:23 AM

    dear Neil i injet code  but same image size :(

  • Profile Image
    mliz
    Answered on March 29, 2012 at 01:31 AM

    @ mksimseker

    Please open a new post on forum our regarding your issue it would also help if you can include the url of the form which you are having an issue with.

    Thanks!