Your Time:
Our Time:
← Back to discussions

Image size incorrect..

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 6 replies, 4 voices, and was last updated 10 years, 4 months ago by Anonymous.

  • 2016-04-14 at 7:50 pm
    Support Expired
    #13796
    djldc
    Participant
    • Topics: 1
    • Replies: 2
    • Total posts: 3
    • Post count: 2

    Is there a way to change the image size. It doesn’t matter what image I upload for ope/closing hours it automatically stretches the height of the image making it look odd. Thanks!

    2016-04-18 at 12:55 pm
    #13832
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Find the following path: iva-business-hours-pro/iva-business-hours-pro-shortcode.php
    You can change the dimensions of image here in iva-business-hours-pro-shortcode.php

    if(  $iva_open_image !=''){
    	$iva_oc_img = '<figure><img class="ivabh_open_img" src="'.$iva_open_image.'" width="470" height="300"></figure>';
    }
    if(  $iva_close_image !=''){
    	$iva_oc_img = '<figure><img class="ivabh_close_img" src="'.$iva_close_image.'" width="470" height="300"></figure>';
    }
    2016-04-19 at 2:22 am
    Support Expired
    #13849
    djldc
    Participant
    • Topics: 1
    • Replies: 2
    • Total posts: 3
    • Post count: 2

    tried it.. didn’t work.

    2016-04-19 at 11:10 am
    #13850
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    The image automatically stretches as it has to be responsive. If we make it non responsive then it will not be stretched. In the next release soon we will consider making an option to disable the image responsive option so that users like you will be able to make changes and use the desired dimensions for the image. 🙂

    2016-04-20 at 4:31 pm
    Support Expired
    #13906
    djldc
    Participant
    • Topics: 1
    • Replies: 2
    • Total posts: 3
    • Post count: 2

    OK.. Thanks for your help!

    2016-05-14 at 3:08 am
    Support Expired
    #14369
    viracreatv
    Participant
    • Topics: 3
    • Replies: 8
    • Total posts: 11
    • Post count: 17

    Hello,

    Can you please make it so we don’t need to edit the code and have a place to enter the % or image size?

    Thank you for checking.

    2016-05-16 at 12:52 pm
    #14398
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    @viracreatv: we will consider adding this in the future updates and will notify you when it has been done.

You must be logged in to reply to this topic.