|
That would still try and load the images which we already know are not there for no reason though. Looking at the code, it seems we do already check whether there are images or not in http://git.musicbrainz.org/gitweb/?p=musicbrainz-server.git;a=blob;f=root/release/sidebar.tt;h=a037e001b84a3530e905732dce8ff0e805483dfb;hb=caa As for JS, the problem I was seeing there has now been reported as MBS-4622 commit aa616d28eb795abe40d234575895e662d459c8b5 ps, this was only in the sidebar right? because that's the only place I fixed it |
||||||||||||||||||||||||||||||||||
This work is a bit tricky, so I'm going to shift this over to Kuno. One option is to make the empty <img /> have style="display: none", but I'm not sure the web browser even does the requests properly then so I don't want to commit that.
With regards to the non-JS people, they actually won't see an empty <img /> tag - we detect when JS is off, and if so we just unconditionally try and display the small thumbnail.