Image Size in article detail.

Events happening in the community are now at Drupal community events on www.drupal.org.
pcoleman's picture

Hi,
I have been working my way around customizing my look and feel. I am working on a sub-theme and figuring most things out. One thing I can not find is where the size is applied to image in a detail of an article. It uses the ImageCaching 400xY preset, but where is this applied. I have looked most places I can find. Thanks.

Comments

Did you mean you are looking

stattler's picture

Did you mean you are looking for the place where it was applied so that you can theme it? If that is so, it will be in the corresponding .tpl.php file.

Maybe some more hints

pcoleman's picture

I have not found the .tpl.php file yet. I have found the node-article.tpl.php that set the style to main-image and calls print $main_image but the neither of these call mention the ImgaCaching400xY. Does someone have more of a hint, like the folder to look in etc. I am trudging through the whole theme but have not found it yet.

I couldn't find it either.

stattler's picture

I couldn't find it either.

Still searching

pcoleman's picture

Hi,
I am still searching. I can change imagecache preset 400xY to 250 wide. The image scaling changes but it still is in a 400 px block so there is 150 px of white space to the right of the pic.

I have changed the node display to use preset 250xY but this does not effect $main_image. Where is $main_image defined???

Set custom size of thumbnail

epruett's picture

Try visiting yoursitename/admin/settings/teaserthumbnail
Set Thumbnail preset to the 400xY option then enter your desired size.
Save the settings.

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week