Custom made the default image for posts without thumbs by copying the original file from /wp-content/themes/Newspaper/images/no-thumb/ directory and editing without changing the size.
The file size is 745x483px and is resized down to 742x481px on in the actual slider. As you can see from the screenshot, that image sizes down to 700x454px. The image literally loads from Newspaper/images/no-thumb/art-slidebig-main.png?resize=700%2C454.
How do I stop that from resizing incorrectly? I need the image to show at its full correct size. I custom made all the default images as well and they are all showing up okay so far.
Thanks
hi,
way don’t you take a big picture and upload it (bigger then 1024)?
way do you do stuff like the one you deed, copping and resize yourself ?????
the resizing is done automatically by wordpress, this is where the theme tells wordpress what size of images needs to cut: http://screencast.com/t/wzb5ks92mF .
another solution is from css to increase the size of the photo on the big slide.
Thanks for you message.
Radu A.
Why would I have to make edits for the default thumbnails included in the theme to fit their display areas as defined by the theme????????
http://screencast.com/t/7IyXAcTIWZiM
Notice the directory structure is the core Newspaper directory upon download, not upload – WordPress has nothing to do with this issue. I’m not messing with the thumbnails WordPress generates. I’m using the Newspaper default images and they do not fit the slide. My custom default images are named exactly the same and with the same .png format and precise dimensions as these pictured. This isn’t a custom code issue.
And I don’t upload a featured image in every post for two reasons:
1. I don’t want a featured image on loop-single.php for every post. Good thing for me the theme comes with built-in default image support for posts without a featured image.
2. There are a lot of old posts that don’t have a featured image. These posts also have no images within the posts.
All I need to know is what the minimum dimensions of that slide image need to be to fit the slide.
There should be absolutely NO CROPPING of that default image. Images made at 745×483 (Matches included theme files) or 743×481 (Matches themes default slide resize) gets sucked down to 700×454 (Too small to fill the space).
That area is 743×481 (Actual pixel dimensions of the slide, no borders or padding applies) so the image must show as 743×481 to fill the area allowed for it.
Thanks
hi,
YOU DON”T
my advice is to use images bigger then 1024, in this way when wordpress crop the images, will crop theme big enough.
if the image duos not fit (ex: slider) you can use css to stretch it.
like I said, only in the function.php we tell wordpress what size to crop the images.
Thanks for you message.
Radu A.
The problem is Photon in Jet Pack. It RESIZES the image to the WRONG size for some unknown reason.
The Newspaper Featured Image Placeholder feature is not compatible with Jet Pack’s Photon CDN. Photon is needed – how do I force the correct size, or disable Photon resizing the featured image placeholder?
Also, as a thank you for the jab, you were wrong. Photon resized a 1074px width image down to the same incorrect 700×454 – it didn’t crop it either.
I got this theme to 92/100 page speed score by using Photon, more like 82/100 without it. Really need your help. I figure there must be a bit of CSS that will force the correct size for the slide to show correctly with Photon on. Or perhaps it’s time to put a fix into Newspaper for this compatibility issue.