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.
Is there a way I can edit this code so that the thubnail doesn't render if there is only one uploaded image.
Original Code:
<?php if ($fields['slide']->content): ?>
My PHP skills are limited but I thought that it would as simple as this:
<?php if ($fields['slide']->content > 1): ?>