-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saved images are not updated #386
Comments
If you are trying to display the image, can't you just do:
You're right that if you specifically use the html, you'll probably also have to worry about caches. I hesitate to modify the url (beyond the cell://), but maybe we can have the server tell the client not to cache the file. |
I wanted to display several images arranged neatly, so I was doing it via html table referring to saved files. It does work fine in the worksheet mode, so I think it is quite desirable to have it work for cell server as well. I agree that automatic decoration of links is non-trivial and it would be better to avoid it. |
I should note that you don't have to explicitly manage images to do a table: |
That's definitely a more elegant solution for what I was doing! But the main issue as I see it is the discrepancy between different versions of interacts. I can imagine saving some files, running some external programs on them, and then trying to display the result stored as a file, which will return to the same problem. Also I don't know how to correctly fix this issue, so if you are convinced that it is invalid - feel free to close it. |
... and actually I cannot easily do what I want with |
I think it might be as easy as something like: http://stackoverflow.com/questions/12031007/disable-static-file-caching-in-tornado I suppose a cell:// url will always be getting a file, so maybe there's no harm in appending an argument. I wonder how the notebook does it. |
Changing k has no effect on the shown picture due to caching. I've found a trick to make it work by adding time in the end of the link:
The text was updated successfully, but these errors were encountered: