Closed ghost closed 8 years ago
Makes a lot of sense. I can take a crack at it.
Okay, so I played around with it and decided that the best course of action would be to take the given url, try to put in an img
tag and catch the load/error events to see if it's something we can work with. There are open questions though:
We should figure that out first. Ping @JohnONolan :)
I believe this and #3009 are somewhat related - I think it's intended to revisit the image upload flow on the settings screens in the future and come up with better UX for this @JohnONolan?
We're going to be revisiting all of the image uploading UX somewhere in the near future, so closing these two issues (#3009, #3517) in favour of an overhaul.
Summary of Issue
This is not really a bug but more of a feature request. When adding a blog logo via URL there is no validation that what is being added is some sort of image. http://www.google.com is accpeted which results in the broken image icon.
Additional Information
Client OS: Mac OS X 10.9.4 Server OS: Mac OS X 10.9.4 Node Version: v0.10.21 Ghost Build Number: 0.5.0 rc1 Latest Commit: Ghost Database: SQLite3 Browser: Chrome 36.0.1985.125