In Rife theme, design-17, i have Works in one pager frontpage. BUT when i click images , they are clipped, when my image is square, important content is cut, like heads... How to fix this and show square images in lightbox...
Seems like i cannot fix it in CSS - there is a inline style in the image... :
style="width: 1160px; height: 1577.6px; left: 0px; top: -462.3px; display: block;"
Comments
Could you post link to your site, so I could see what is going on?
With kind regards.
and
http://xxx/#a13lightbox-work-10659
Other thing is to see images in whole size in lightbox, now they are cutted in rectangular format.
See Works > All, First image (Anze K... ) is cutted (head is hidden...), and on the page two, there are few photos where heads are cutted... it would be best to align images on the top.
I hope there is some CSS i could add to fix this problem...
Can you hide this post, i dont want the links visible in the forum Thanks
About your images in lightbox:
Please go to work where it happens and edit it.
Next Work details -> Work Media -> Present media in: -> Slider
Next scroll to option Fit images and set it to Fit always
With kind regards.
I wonder if i update theme, is everything saved now?
Before we will proceed. This lightbox, is not for presentation of photos, but for displaying details of work so it may not be solution that you are looking for. You probably would want something like this: http://rifetheme.com/fully/album/gallery4/
However currently such album have to be added by separate page.
You don't lose theme setting while updating:-) Everything is explained in docs http://apollo13.eu/docs/apollo13_framework_theme/#installation_update_update_theme
In each work/album you choose this depending on photos that you used. So it can't, sorry.
With kind regards.
Can i modify the code with PHP, to get for example Image Title (from Media attachments) inserted on that.
I can advise one more solution, but I see there is a bug in latest version, and first you will have to make such change in code:
rife\single-work-ajax.php line ~34 change:
$show_desc = (int) ( get_post_meta( $id, '_enable_desc', true ) === 'on' );
to
$show_desc = get_post_meta( $id, '_enable_desc', true);
Then edit work and change Work details -> Work Media -> Show title and description of work items -> Enabled
This will show image titles on each image.
With kind regards.
???
But you can select different image proportions in works list:
Customizing ▸ Works settings▸ Works list ▸ Choose brick proportion
With kind regards.