Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 96646

ElectricFeet on "[Theme: Customizr] Crop slider image from top instead of bottom?"

$
0
0

Hi Nicolas,

In a recent thread, you said:

as of now, the slider height is fixed, depending on the screen resolution : 500px for a normal computer screen, 385px for a tablet, ...

It might be an interesting additional feature tough, to be able to set the slider height. I will definitely think about it as an improvement for the next version of the theme.

I love the slider in Customizr and more ability to customize it would be great.

One customization is indeed size, so that you can have a slider that does or doesn't dominate the page, depending on your choice.

However, there is another slider feature that I would consider more important than simple size: The ability to decide which part of the photo gets cropped when there is automatic cropping to do (to be responsive).

For instance, a simple choice of
"In responsive situations:

  • crop from bottom of photo or
  • crop from top of photo"

...would be wonderful.

To give a concrete example: my site has a slider photo that is 1170x500, as you recommend. It shows an artisan in a beautiful workshop. The aim of the photo is to show mainly the workshop, with the man in it, so the man only occupies 2/5 of the height of the photo, from head to hands:
http://darioalfonsi.com/wp-content/uploads/2013/06/slider_dario.jpg

But a lot of the man often gets cut off. I got a call from a user tester this morning to tell me that on her setup (an iMac Firefox window), with her level of skills (she didn't know how to resize a browser window), the man's nose was cut off. That is, a full 25% of the bottom of the photo was cropped, leaving only the top of the head ... which rather screws up the point of the photo.

If, on the other hand, I had the ability to crop from the top instead of the bottom when being responsive, the photo would be OK. I'd lose a bit of the magic of the photo (the wooden-beamed ceiling), but not an essential part of it.

This is a specific example, but I think it captures the problems that some people are having with the slider. It's not so much a problem of the size, but what gets shown when it's reduced.

Really cool would be to be able to say where the centre point should be (or allow a balance between vertical and horizontal cropping). But I can wait for version 16.3 for that. For, now--for version 3.1, say :-) --a simple "crop from the top" check-box would be great.

p.s. Or could I achieve this already myself by a small tweak in the code?

p.p.s. Thanks for all your help!


Viewing all articles
Browse latest Browse all 96646

Trending Articles