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

Image not found #78

Open maki3000 opened 3 years ago

maki3000 commented 3 years ago

Hello! I'm on october CMS v2 (2.0.26).

Question: Is the resize filter now in the core?

I installed the plugin, but I get "Image not found" placeholder. When I disable the plugin, the images aren't found either. I cleared the cache, but I get the same results.

Here's my code inside my plugins component:

<div class="board__image-container">
                <img src="{{ board.image.path|resize(180, 200) }}" alt="{{ board.image.file_name }}" class="board_image">
</div>

When I remove the resize filter, it all works fine.

lieszkol commented 3 years ago

I am the maintainer of the NovemberGallery plugin, which also makes use of this plugin and no longer works with OctoberCMS v2. From reading issue #55 and https://github.com/octobercms/october/pull/5231 it is my understanding that this plugin should not be installed on OctoberCMS v2 anymore and that the migration to core has been completed. Am I correct? It would be nice to get a confirmation on this as well as to add a note in the plugin description / documentation instructing new users to no longer use this plugin (with perhaps a link to documentation of the functionality migrated to core).

renickbuettner commented 2 years ago

Just had the same issue today, upgraded from 1.1 to 2.x. Needed to manually clear the storage/app/resources/resize folder. Then resizing worked again :-)