It seems that the features images are much higer in v6 than v4. (for example first the image was 508, now he is 738px). It takes the whole screen now..
I’m trying to get for example in template 3 a less higher image by changes 1068×0 into 1068×300:
<?php echo $td_mod_single->get_image(‘td_1068x300’); ?>
But he doesn’t:
– show the correct height
– doesn’t generate the correct image size
What can I do to decrease the image size?
Yes there are different templates to choose from. But I choose the same template (style 3) like in de demo:
http://demo.tagdiv.com/newspaper/td-post-if-you-only-knew-how-much-your-relative-churn-rate-matters/
my image is much higher then in the demo. I have tried to regenerate the images, start all over with new images. But still all the images are higher then in the demo. So something goes wrong, or I am doing something wrong
But I take the same image dimensions (1688 x 1125) as the demo image:
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8.jpg
The thing what I found strange is that the image on the demo has width 1068 and height 712

But If you measure it, it really shows 552px
My image doesn’t take the image with -1068×712 behind the image name (it only takes the normal image name) and the size is 712. I want it also like in the demo to have it 552px
On a setup I have on a very very slow old pc testing the new version of newspaper,
I show you with your pick of post template two articles.
One with a portrait and one with a landscape picture.
You will see for yourself that the specific post template, keeps the aspect ratio, while stretching on the width…
POST with portrait featured image
http://mobile.neakriti.gr/neakriti2/index.php/i-omorfia-tou-sympantos/
Post with landscape featured image
http://mobile.neakriti.gr/neakriti2/index.php/to-sympan-apo-to-mikrotero-sto-megalytero/
I understand what you describe, but to my knowledge so far, its just outputing what you give it
The thumbnails are handled very nice no matter what the aspect ratio as long as your subject is not at one of the edges of the screen, but as centered as possible.
This is a search result in this test site that shows both images of the example links I gave you
http://mobile.neakriti.gr/neakriti2/?s=%CF%83%CF%85%CE%BC%CF%80%CE%B1%CE%BD
You see that even one is VERY portrait, and the other landscape they appear very nice as thumbs
Each image as I said is chopped in 15 variations.
For example the
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8-1068×712.jpg
you pasted is a variation of the
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8.jpg
-
This reply was modified 11 years by
neakriti.
No I didn’t.
Here is the link to the page:
https://www.tijdmetkinderen.nl/zwanger/baby/populaire-jongensnamen/
The demo:
http://demo.tagdiv.com/newspaper/td-post-if-you-only-knew-how-much-your-relative-churn-rate-matters/
I used now the exact image site as the demo
Mine: https://www.tijdmetkinderen.nl/wp-content/uploads/2015/06/baby-jongen2.jpg
Demo: http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8.jpg
-
This reply was modified 11 years by
jansena.
The one in the example you gave:
http://demo.tagdiv.com/newspaper/wp-content/uploads/2015/04/8-1068×712.jpg
it says 1068×712,
But if you open the image in photoshop or look at the dimensions the size is: 1068x552px
So the image is cropped in a different size then the image was
You are very right….
I now understood your problem….
So infact it shouldn’t keep the aspect ratio, but instead it should crop like in the rest of the post styles….
Hmmm…. I thought it was a feature, but it looks like its a bug instead…… I will try to see if there is some option we haven’t seen so far, otherwise it should be answered by tagdiv….
Nope, it shouldn’t keep the aspect ratio, but like you said I want to have it cropped like the rest of the post styles.
I’m trying to make a new crop setting in the td_config but he just wouldn’t not make my new size.
I think it is a bug, or I am still doing something wrong.
Thanks for thinking!
I can change the size in the single_template_3.php
http://screencast.com/t/SYSHJWDwX
But for that I need to change an existing or create a new thumb size over here:
http://screencast.com/t/ybhYquhg
I still have the problem that he won’t make the new thumb size. Or I have to do something else, or the td_config is caching stuff, which I don’t think so, because if I change an existing thumb, then the old format won’t be created anymore, but also it doesn’t give me the new format.
I’m a little stuck…
.td-post-template-3 .td-post-featured-image img {
max-height: 700px;
width: 100%;
object-fit: none;
object-position: center;
}
try the above CSS. I know its not the real deal, but it does what you want, until tagdiv reply to your problem.
However this is not the optimal solution, nor it handles all situations like smaller images.
I believe tagdiv can only help us on that
Maybe I can try it for now (only object-fit is not supported by most browsers) and wait for tagDiv to give me a better solution.
It doesn’t make sense why he won’t create my new thumbnail format in the td_config.. but hopely can tagDiv help me with that also
Thanks for helping…
Okay… now I have fixed it. I had to enable the in the theme panel in block settings > thumbs on modules & blocks the new defined format.
Also I had to delete the cache file in wp-content. Because after done all these 3 steps I still had the old version. But not it seems I have fixed it (locally)
Hi all,
we’re working hard to finish the api documentation: https://forum.tagdiv.com/the-theme-api/
about thumbs: https://forum.tagdiv.com/api-thumbnail-introduction/
Thanks neakriti for all the help and suggestions. We are preparing a list where we will add all the good DIY stuff from this forum :).