• Resolved Chantalumpi

    (@chantalumpi)


    Hi,

    first of all thanks a lot for the great plugin :

    Unfortunately, the code [reactwebcam] shows the image on my homepage totally distorted? How can I change the size or the proportion of the image?

    Thank you for your help?

    Chanta

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Radek Matej

    (@nikdo)

    Hi Chanta,

    Webcam image is not styled by default. That is WordPress theme responsibility. To change appearance, change the CSS styles.

    For example this sets image width:

    
    .react-webcam img {
      width: 400px;
    }
    

    Radek

    Thread Starter Chantalumpi

    (@chantalumpi)

    Hi Radek,

    thansk for your quick answear.
    I have to add just this code:

    .react-webcam img {
    width: 400px;
    }

    to the CSS file of my theme?

    Chanta

    • This reply was modified 7 years, 7 months ago by Chantalumpi.
    Thread Starter Chantalumpi

    (@chantalumpi)

    Hi Radek,

    I added the code to the CSS File of the theme and it worked. ?? Thanks for your support.
    I have just one Problem: With Interent Explorer the picture is not shown, with firefox and chrome its working. Would can I do?

    Cheers

    Chanta

    Plugin Author Radek Matej

    (@nikdo)

    I’m afraid I cannot help you with that. Your theme is probably broken in some way and as the result styling doesn’t work in IE. Ask someone with front-end development skills to investigate.

    The plugin just adds an image to the page. That works in all browsers for sure. If image is not displayed properly, WordPress theme is to blame.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I change the dimensions of the image?’ is closed to new replies.