Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2334

TN/Medium size is hard coded

    XMLWordPrintable

    Details

      Description

      This is inconsistent with other settings. 

      These TN size should go from this

      ./islandora_solution_pack_disk_image/includes/derivatives.inc:119: $args[] = '-resize ' . escapeshellarg("200 x 200");
      ./islandora_solution_pack_web_archive/includes/derivatives.inc:119: $args[] = '-resize ' . escapeshellarg("200 x 200");
      ./islandora_solution_pack_large_image/includes/derivatives.inc:230: $args[] = '-resize ' . escapeshellarg("200 x 200");

      To this

      ./islandora_solution_pack_disk_image/includes/derivatives.inc:119: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_tn_size', "200 x 200"));
      ./islandora_solution_pack_web_archive/includes/derivatives.inc:119: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_tn_size', "200 x 200"));
      ./islandora_solution_pack_large_image/includes/derivatives.inc:230: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_tn_size', "200 x 200"));

      These medium image sizes should go from this 

       

      ./islandora_solution_pack_disk_image/includes/derivatives.inc:61: $args[] = '-resize ' . escapeshellarg("600 x 800");
      ./islandora_solution_pack_web_archive/includes/derivatives.inc:61: $args[] = '-resize ' . escapeshellarg("600 x 800");
      ./islandora_solution_pack_large_image/includes/derivatives.inc:162: $args[] = '-resize ' . escapeshellarg("600 x 800"); 
      

      To this

      ./islandora_solution_pack_disk_image/includes/derivatives.inc:61: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_med_size', "600 x 800"));
      ./islandora_solution_pack_web_archive/includes/derivatives.inc:61: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_med_size', "600 x 800"));
      ./islandora_solution_pack_large_image/includes/derivatives.inc:162: $args[] = '-resize ' . escapeshellarg(variable_get('derivative_med_size', "600 x 800"));

       

      Suggested by an attendee during iCampCA18 and thought this would be a good solution. Also add a admin user input area.

        Attachments

          Activity

            People

            Assignee:
            donrichards Don Richards
            Reporter:
            donrichards Don Richards
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: