I have this code that scales thumbnails
<?php do_shortcode('[image-resize height=50 width=50 ref=h default= the_post_thumbnail( );]'); ?>
default means the image that I want to resize.
how can I output the dimensions
For now the output is <img src =”example.jpg” alt =”alt”>
I want to add width and height of the resized image.
- The topic ‘add image dimensions’ is closed to new replies.