Issue 13650

Image not showing on species page

13650
Reporter: trobertson
Assignee: mdoering
Type: Bug
Summary: Image not showing on species page
Priority: Major
Resolution: CantReproduce
Status: Resolved
Created: 2013-08-27 13:29:43.591
Updated: 2014-04-24 16:36:26.994
Resolved: 2014-04-24 16:36:26.972
        
        
Description: Image not showing...

Understanding that images can disappear at any time, suggest doing AJAX and verifying image is present and if so, append the  tag]]>
    


Author: trobertson@gbif.org
Created: 2013-08-27 14:45:55.528
Updated: 2013-08-27 14:45:55.528
        
or perhaps remove it onerror
http://stackoverflow.com/questions/9022427/see-if-src-of-img-exists
    


Author: trobertson@gbif.org
Comment: relates to http://dev.gbif.org/issues/browse/PF-177
Created: 2013-08-27 14:46:11.331
Updated: 2013-08-27 14:46:11.331


Author: mdoering@gbif.org
Comment: will look into this, but its a bit more tricky as we use the images in a javascript created image gallery. We probably need to check for existance in there too
Created: 2013-08-27 15:34:54.726
Updated: 2013-08-27 15:34:54.726


Author: omeyn@gbif.org
Comment: The page at http://portaldev.gbif.org/species/3134959 doesn't look bad - first image loads fine and all good, only in image gallery if you try for image two (click right arrow) does it sit and spin forever. Downgrading to Major.
Created: 2013-09-26 20:48:46.409
Updated: 2013-09-26 20:48:46.409