Home Forums ePix Support Carousel no options for portrait images

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #49601

    LizardPC
    Participant

    I fully understand that the carousel gallery can only have images in those stated ratios in the back-end 1:1,4:3,16:9. Is there a way for you guys to add a 2:3 ratio? Or tell me what file I could add the 2:3 code to? I have a customer who insist on using portrait images with the Carousel slider with images such as 600px by 900px. They think it’s odd for a photography theme not to work with such a common size used by photographers.

    -thanks

    #49613

    Tom ( Support)
    Keymaster

    Hi,

    I will suggest this to Andy (theme creator) and get back to you.

    Kind regards,
    Tom

    #49677

    Tom ( Support)
    Keymaster

    Hi,

    Andy (theme creator) has created a fix for this but he needs your FTP details to implement it into your site.

    If you can provide these, we can add this in for you.

    Please set your reply to private when posting login details.

    Kind regards,
    Tom

    #50235

    Chau Mai
    Participant

    Is this fix going to be made public? I have a mixture of both portrait and landscape photos – the carousel currently crops off those portrait photos.

    #50241

    Hitesh Modi
    Participant

    +1

    I’d like to see this feature added as well if possible.

    #50361

    W. M. van Dijk
    Participant

    +1

    I really need this for my portfolio carousel!
    Can the fix be shared or implemented in the next version?
    Maybe even an option to set your own ratio?
    Thanks!

    #50384
    Andy
    Andy
    Keymaster

    Hi Guys,

    In the latest version I’ve implemented extra ratio options for the Carousel, 9:16 and 3:4.

    #50406

    W. M. van Dijk
    Participant

    Hi Andy,

    Thanks but we really need the 2:3 and 3:2 ratio’s. Any chance that could be added too?

    #50410
    Andy
    Andy
    Keymaster

    Yep, they can be added too. I may just change it to user input ratio’s instead. I’ll show you where you can add them.

    If you’re using the Visual Composer method of adding a Carousel, edit the following page:

    ePix/lib/inc/shortcodes/carousel-slider.php

    Search for this code:

    "16:9" => "16:9",
    "4:3" => "4:3",
    "1:1" => "1:1",
    "9:16" => "9:16",
    "3:4" => "3:4"

    Add your own ration in e.g. ( take note of the comma’s )

    "16:9" => "16:9",
    "4:3" => "4:3",
    "1:1" => "1:1",
    "9:16" => "9:16",
    "3:4" => "3:4",
    "2:3" => "2:3",

    For the Page Carousel method, please edit the following file:

    ePix/lib/adm/inc/options-meta.php

    Search for this line of code:

    array( 'name' => '3:4', 'value' => '3:4', ),

    Add your own, following this line e.g.

    array( 'name' => '3:4', 'value' => '3:4', ),
    array( 'name' => '2:3', 'value' => '2:3', ),

    #50420

    W. M. van Dijk
    Participant

    Great!
    This works perfectly. Thank you!

    #50669

    LizardPC
    Participant

    Thanks for providing the code on where to add your own ratios.

    #54553

    Jennifer Stone
    Participant

    Is there code so we can have a mix of portrait and landscape photos in the same carousel?

    #54561

    Tom ( Support)
    Keymaster

    Hi Jennifer,

    This is not currently possible to do as stated in your previous post.

    Thanks,
    Tom

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

© 2018 Acoda