0
votes
2answers
1k views

Output the width & height of an image using a particular image style

In Drupal, you can use the following in a field--field-image.tpl.php file to output an image as a URL using a particular image style: <?php foreach ($items as $delta => $item): ?> <?php ...
1
vote
2answers
1k views

The styled image is not displaying

I have created a thumbnail like image style in Drupal 7 (glossy_footer_sublogo).Also i have coded a module that has a block to display the 'logo.png' file that comes with my theme and converted by ...
0
votes
3answers
2k views

How can I prevent height/width attributes on images run through the theme system?

My site runs now on Drupal 7.9. On the release notes (4th position) it is reported the following note: Restored height/width attributes on images run through the theme system That is exactly ...
1
vote
2answers
952 views

Drupal 7 - How to apply Image Styles to a User uploaded logo for a theme

I have need to be apply an Image Style setting to the logo uploaded at appearance/settings/THEME_NAME Use Case is: The theme will be used across multiple unique instances within the organization and ...