Coder Social home page Coder Social logo

dynamic in upload url about flynt HOT 5 CLOSED

flyntwp avatar flyntwp commented on June 5, 2024
dynamic in upload url

from flynt.

Comments (5)

badger3000 avatar badger3000 commented on June 5, 2024 1

You need to configure your server to support resizeDynamic. read more about TimberDynamicResize (Flynt Feature) here:

https://github.com/flyntwp/flynt/blob/master/inc/timberDynamicResize.md

on a side note, anyone know how to configure this to work with nginx ?

from flynt.

domtra avatar domtra commented on June 5, 2024 1

@badger612 i had a deeper look into the issue. if you check out the dynamicResize branch and flush the permalinks, nginx will serve the images correctly with the nginx config, that is suggested by wordpress.org. However, there are some nginx configs that still lead to errors. you can identify, if it is a config issue by opening the image in the browser. if it is a 404 from nginx, it is a nginx config issue. in this case, a location rule like the following should help:

location ~ "^(.*)/wp-content/uploads/(.*)$" {
        try_files $uri $uri/ /index.php$is_args$args;
}

Please let me know if this fixes your issues. Then we should be able to merge the dynamicResize branch into master.

from flynt.

Jensderond avatar Jensderond commented on June 5, 2024

@domtra this works for me! Important step is to flush the permalinks!

from flynt.

domtra avatar domtra commented on June 5, 2024

closed by #214

from flynt.

spsaucier-bakkt avatar spsaucier-bakkt commented on June 5, 2024

Is there a way to get this to work with WPEngine, where you don't have access to nginx config?

from flynt.

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.