matt-pawley / oc-imageresizer-plugin

October CMS Plugin to resize and compress images
https://octobercms.com/plugin/toughdeveloper-imageresizer
MIT License
46 stars 39 forks source link

Wrong paths are generated when installed in subfolder since build 467 #74

Open chocolata opened 4 years ago

chocolata commented 4 years ago

Hi,

Recently there was an updated to how paths are generated by October CMS (build 467), causing installs in subfolders to have issues with generated paths from the | media filter. It seems the subfolder is left out the path.

Luke has mentioned a workaround here, by explicitly mentioning the subfolder in the path in the configuration: https://github.com/octobercms/october/issues/5204

This fixes the issue for the | media filter but it does not work for the Image Resize plugin. The only workaround I have found is to set the 'linkPolicy' to 'force' in the cms.php configuration file.

Should we accommodate this?

adrian-stein commented 4 years ago

I am getting the same issue and im on build 468. Any word on when a fix will be available?

matteotrubini commented 4 years ago

@maartenmachiels will this issue be superseded by migration into core?

bmiskoski commented 3 years ago

Hello,

Issue still persist on build 471, any workarounds about this issue?

When the sub folder isn't added to the media path in cms.php the resized images are shown, as soon as I add the sub folder in the media path i get the image not found.