We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48381
    • 21 Posts
    Hi,

    I have used phpthumbsup many times before,
    I turn on responsive and add :phpthumbsup after the TV.
    It works great.

    I installed Babel on a new site recently and it also works great.
    I followed the url scheme of www.mysite.com/nl/ www.mysite.com/de/ etc...

    When i turn on phpthumbsup in the babel enabled website it does not work for any context. The image is not displayed in the FE
    I receive a message in the browser console:
    Resource interpreted as Image but transferred with MIME type text/html: "http://www.mysite.com/phpthumbsup/src/assets/materials/gallery/demo/02.png"
    The same TV displays the image without phpthumbsup

    I tried adding the following to the .htaccess - no change:
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(en|fr|ru)/phpthumbsup(.*)$ phpthumbsup$2 [L,QSA]

    I have {base_url}phpthumbsup/ configured in "base url" configuration in phpthumbsup settings.

    Thanks!

    This question has been answered by agoraa. See the first response.

    • discuss.answer
      • 48381
      • 21 Posts
      Found the solution for anyone encountering the same problem.

      The problem was not related to phpthumbsup but to babel redirect -
      when using image TV the output type should be TEXT and not default.

      hope it helps someone