Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10467

    is that possible? would be nice if i could use some css.

    #68156

    sth. like

    $(“.avia_fullscreen_slider li:first-child”).addClass(“cropping”);

    #68157

    Hi maratino,

    I’m not quite sure I follow. You want one image within a background gallery to be cropped, but the others to not be cropped?

    If this is the case, I’m not quite sure this would be achievable without some significant alterations to the theme files. When an image is uploaded to wordpress, the functions.php within the theme tells wordpress to also make a few copies at various sizes. Of those, you can tell it to crop or not to crop to get it to the desired size. Since the background images are all pulled from the single size/type, you would have to apply the rule to all of them or none.

    #68158

    hi devin, sorry to be unprecise.

    i am not talking about the wp-cropping but the flashlight fullscreen background-gallery mode!

    I want to mix. Best would be to be able to have a “per image” setting.

    Background: portrait images are not suitable for cropping, landscape image are.

    #68159

    Unfortunately this is currently not possible in a simple way. I will take a look into it but I cant make any promisses here, there are unfortunately a few more urgent requests that need to be fixed…

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

The topic ‘have one image cropped in a resized backgroundgallery’ is closed to new replies.