You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
<?php echo fly_get_attachment_image( get_post_thumbnail_id(), 'test150', array('class' => 'app-image') ); ?>
It pulls the image with the ID "test150", but cannot pull the "class" attribute.
Unfortunately, I need to use the other method to add a class. Please allow adding class to first method.
<?php $imagept = fly_get_attachment_image_src( get_post_thumbnail_id(), 'test150' ); echo '<img src="' . $imagept['src'] . '" width="' . $imagept['width'] . '" height="' . $imagept['height'] . '" class="app-image" />'; ?>
The text was updated successfully, but these errors were encountered: