Issue 12984

Update all species image properties when rotating an image

12984
Reporter: mdoering
Assignee: mdoering
Type: Bug
Summary: Update all species image properties when rotating an image
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2013-03-11 13:06:51.396
Updated: 2013-08-29 14:44:23.451
Resolved: 2013-03-18 19:36:38.932
        
Description: right now only title and source is updated, but description and others need to be updated too. Best to do this all in javascript. Right we dont even render description or photographer html if the first image doesnt contain any, but the next ones do:

          <#if img1.publisher?has_content>
            

Image publisher

${img1.publisher!"???"}

<#if (img1.creator!img1.created)?has_content>

Photographer

${img1.creator!"???"}<#if img1.created??>, ${img1.created?date?string.short}

<#if img1.description?has_content>

Description

${img1.description}

]]>


Author: mdoering@gbif.org
Comment: https://code.google.com/p/gbif-portal/source/detail?r=1529
Created: 2013-03-15 17:45:43.584
Updated: 2013-03-15 17:45:43.584


Author: mdoering@gbif.org
Created: 2013-03-15 18:25:49.739
Updated: 2013-03-15 18:25:49.739
        
Need to trim the title in javascript if its too long.
See http://staging.gbif.org:8080/portal/species/3065#images
    


Author: mdoering@gbif.org
Created: 2013-03-15 18:27:49.542
Updated: 2013-03-15 18:28:02.324
        
The images seem to be off by one pixel to the right & top too
http://staging.gbif.org:8080/portal/species/212#images
    


Author: mdoering@gbif.org
Comment: https://code.google.com/p/gbif-portal/source/detail?r=1539
Created: 2013-03-18 19:36:38.958
Updated: 2013-03-18 19:36:38.958