Skip to content

Can't clear cache for previously existing thumbs ? #739

@jorismulliez

Description

@jorismulliez

Hi all,

I'm trying to use this bundle. It work fine for display.
But I can't figure how to clear specific Image cache correctly (without clear full cache).

I want to create a service like this one : stackoverflow.com/questions/27524336/update-and-remove-cached-image-using-liipimaginebundle#answer-28023595
But nothing work...

How can I remove the cache from the image I just replaced ?

Lets say I have some images entries :

  • image 1, with file 1.png, thumb/120x120/1.png, thumb/180x180/1.png
  • image 2, with file 2.png, thumb/120x120/2.png, thumb/180x180/2.png

If I update image 1, I want thumb/120x120/1.png and thumb/180x180/1.png to be removed but not thumb/120x120/2.png and thumb/180x180/2.png

Is it clear ? (sorry for my poor english :/ )

Thanks in advance for your help...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions