Giter VIP home page Giter VIP logo

Comments (10)

ajaydsouza avatar ajaydsouza commented on May 19, 2024

If you change the crop mode or change image sizes, you need to regenerate images because WordPress doesn't auto create images for an image size.
Please see: https://wordpress.org/plugins/regenerate-thumbnails/

from contextual-related-posts.

infinitnet avatar infinitnet commented on May 19, 2024

Thank you for your quick response. I installed the plugin you suggested and regenerated the thumbnails after each configuration change, but the issue remains exactly as described in my bug report. Of course I cleared my browser cache as well.

from contextual-related-posts.

ajaydsouza avatar ajaydsouza commented on May 19, 2024

I'm working on a new version to be released. Have you checked the latest version in this repository?

from contextual-related-posts.

infinitnet avatar infinitnet commented on May 19, 2024

I just updated to your latest master branch, but the issue remains the same for me. Here is a full screenshot of the settings: http://i.imgur.com/uIdRhIb.png

from contextual-related-posts.

ajaydsouza avatar ajaydsouza commented on May 19, 2024

Hi, I'm not sure as to why this is happening. Can you check if WordPress has created the above image in the 150x150 size?

from contextual-related-posts.

infinitnet avatar infinitnet commented on May 19, 2024

Excuse my lack of WP experience, but what would be the path of the cropped images?

from contextual-related-posts.

ajaydsouza avatar ajaydsouza commented on May 19, 2024

This would be in the same folder as your image. Images are automatically saved /wp-content/uploads by default

from contextual-related-posts.

infinitnet avatar infinitnet commented on May 19, 2024

I assumed that and checked the folder, but it only contains the original uploaded images and no cropped versions of them. That's why I thought I might have checked the wrong folder. I doubt it's a permission problem, because uploading images works well and WP is able to create the files within the upload directory. Which part of WP or your plugin creates the cropped images and what's the approach to debug it? I should probably mention that I also tried the Timthumb setting of your module and the issue was the same.

from contextual-related-posts.

ajaydsouza avatar ajaydsouza commented on May 19, 2024

The plugin doesn't crop any images automatically. It uses add_image_size to register the image dimensions into WordPress and any new images are automatically cropped by WordPress on upload. If you need to create the sizes for the old image, that's where Regenerate Thumbnails plugin comes into the picture. You could also try Ajax Thumbnail Rebuild. My personal favourite is Force Regenerate Thumbnails but it deletes all old thumbnails, which might not be the preferred option.

You'll need to install and run this to create the thumbnails for the images that are uploaded. This does take a while to run and are usually saved in the same folder as the original image. e.g. the thumbnail would be imagename-150x150.png

Timthumb will no longer be available as of the next version (current beta in Github already removes support for this). In my opinion, it was the best on-the-fly option available, which unfortunately is no longer supported by the developer.

from contextual-related-posts.

infinitnet avatar infinitnet commented on May 19, 2024

Alright, thanks a lot, I will try one of the plugins you mentioned then. I wrongly assumed that your plugin would create the cropped version of the images itself.

from contextual-related-posts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.