Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter henrik.haugberg

    (@henrikhaugberg)

    Maybe some of the suggestions of this thread could help: https://wordpress.org/support/topic/uploaded-images-not-resizinggenerating-thumbnail?replies=13

    Thanks, that lead to a solution! The problem was, php gd was not installed on the server, so WordPress could not resize images on the server side. Two things is a little strange here however:

    1. The server was a Digital Ocean droplet, with WordPress application setup. It should include gd by default. Even more strange, I deleted the droplet and started a new one for a fresh import the same setup, now suddenly, gd was allready installed. Mabye they found the problem in the meantime and have fixed it?

    2. I think it is a little strange that WordPress did not inform me that gd was not installed, since that made the whole blog completely unusable. The front end took a LONG TIME to load, even with just a few blog posts. The blog only had 77 images in the media lib so far, and still, the thumbnail display in the media lib was so slo the browser often hanged because all the thumbnails was full size images scaled down on the browser side.

    Anyways, thanks for the help! I hope this can help someone with the same issue.

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    There is only one option in the size dropdown, and that is full size. I guess that is probably because there is no variant files generated on the server.

    In case the theme had any effects on uploads in the media lib, I tried to change to one of the standard themes, “Twenty Fifteen”, and then uploaded a new image. No variants generated, only the original image in the server upload directory.

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    I allready tried this one: https://wordpress.org/plugins/regenerate-thumbnails/screenshots/ and it changed nothing.

    Argh, this is starting to irritate me a bit. Even if the variant generating where working, how is it possible for a CMS in 2015, not to have fluid variant generating on demand? WP.com even have it.. ?w=550, gives a 550 px wide image. Change to ?w=650, and it gives a 650 px wide image, generated from the server even if the original was 6000 px wide. No need to use the closest variant and scale in css.

    Sorry, just a bit tired of spending time on this. I want to use WP because of the large community, large set of plugins and thumbnails, but I don’t have time to theese kind of problems, so I actually consider if a payed CMS might be an option even if it means less features and available themes.

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    This is in norwegian, but I that should not be a problem. It is the WP config for the media library. Is there any other configuration that could cause WP not to generate the variants of uploads?

    http://imageshack.com/a/img909/352/Po0Nmz.png

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    But does the theme change how images work when uploaded directly in the media library in backend? Like I said, even the media library css-scale the original images instead of showing thumbnails (see my screenshot from previous post)

    I checked the server now, and in the wp-content/2015/08 directory, there is only one version of each image, the original. What could be the reason why WP does not make variants of the images?

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    You can do that will css, for example

    img {
    height:500px;
    width:500px
    }

    That’s exactly what I want to avoid. That makes the browser load the whole original file, and just scale down in the client side. Since that even happens in the WP admin media library now, the whole browser almost stop working when I open the media lib, because it is so much data to transfer, and so much to scale down in the browser. I want the server to scale the image, so the client can download the scaled version, making the transfer size much smaller.

    To clarify, the default installation of WordPress does actually create different sized images from your original image when you upload it. People have also made plugins that enhance that.

    I’m not sure why you think differently?

    I have a clean 4.3 installation, and it does not scale my images. I uploaded an image to the media library in WP admin, and it is displayed with the original size everywhere, even in the small thumbnails in the media library. Just scaled down with css, see screenshot: http://imagizer.imageshack.us/a/img905/9968/p53uBS.png

    So if the software are different, I guess the question can be changed to: Does anyone know any plugin that make it possible to have images resized serverside to any size based on query parameters, similar to how it is done in WP.com installations?

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    Doesn’t that just resize the original image?

    Scaling i images on the fly by query parameters is kind of basic functionality. Anyone know why this feature works by default on WP.com and not on WP.org?

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    http://178.62.170.79/

    Here are an image from the .com site: https://greenforkblog.files.wordpress.com/2015/08/img_6513-r2.jpg?w=720&h=426&crop=1
    If you change the w/h query params, WP scaled the image based on the high res original.

    On the .org site, the blog show this url without query parameters: http://178.62.170.79/wp-content/uploads/2015/08/img_6513-r2.jpg

    If I try to add them manually, I still get the full res image.

    Is there s plugin that fix this (without having to add the query params manually) that is preinstalled on WordPress.com sites?

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    http://www.greenfork.no/ (the old one, wp.com)

    Thread Starter henrik.haugberg

    (@henrikhaugberg)

    Yes. I want the original image in the media library, but scaled images to be displayed.

    When an image is displayed in a post, in a 800px wide container, there is no point displaying my original 6000×4000 px image from the camera. However, i don’t want the images in the media lib scaled down to 800px, because if I later decided to change template to one where the container showing posts is 1200px wide, I don’t want the images to be scaled up from 800 to 1200, as that will not look good. So I want the originals in the lib, and scaled to the required size when being displayed.

    Most CMS do this automatically (at least the last 5-10 years) and most of them in any size, not just a couple of predefined sizes. WordPress.com work this way (with the query params mentioned in my the first post), but I have not found out how to get this feature in the self-hosted WP 4.3 I just set up.

Viewing 10 replies - 1 through 10 (of 10 total)