Author: david
Date: Mon Sep 28 14:47:05 2009
New Revision: 3571
Log:
Fix display of compound images.
Modified:
trunk/apps/qubit/modules/digitalobject/actions/showComponent.class.php
Modified: trunk/apps/qubit/modules/digitalobject/actions/showComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/showComponent.class.php
Mon Sep 28 14:42:59 2009 (r3570)
+++ trunk/apps/qubit/modules/digitalobject/actions/showComponent.class.php
Mon Sep 28 14:47:05 2009 (r3571)
@@ -47,16 +47,13 @@
switch ($this->digitalObject->getMediaTypeId())
{
case QubitTerm::IMAGE_ID:
- if ($this->digitalObject->isWebCompatibleImageFormat())
+ if
($this->digitalObject->showAsCompoundDigitalObject($this->usageType))
+ {
+ $this->showComponent = 'showCompound';
+ }
+ else if ($this->digitalObject->isWebCompatibleImageFormat())
{
- if
($this->digitalObject->showAsCompoundDigitalObject($this->usageType))
- {
- $this->showComponent = 'showCompound';
- }
- else
- {
- $this->showComponent = 'showImage';
- }
+ $this->showComponent = 'showImage';
}
else
{
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---