I have a structure that each entry shows a preview of an image (see the next image)
Well, my problem appears when I upload a file with the same name that structure entry image. I want when the file is uploaded my structure (If it isn’t possible, the page) reload to see the new file in the entry. I think I can do this with a hook but I don’t know how can I reload the form.
You could try and add something like ?v=1.x(where x is the current timestamp or something like that) to your preview image url. Downside is that it will never be cached but for this use case it might be useful.