Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now I need to allow images to be uploaded (.jpg, .png, etc.) and the Google Docs Viewer doesn't display those so I get an error displayed in the viewer frame. Is it possible to only conditionally show the Google Docs Viewer if the file type matches the required type?
Any thoughts on how to code this?
Comments
Comment #1
gisleNo progress in eight years. Closing as outdated.