An image with large width eg.1200px is resized according to imagecache presets
when shown inline in the body of a node ( say, blog ) - this prevents ugly side scroll or design breakage.

When a similar image shows up in the comment it does not obey the image cache presets, that is, it is NOT resized according to specifications and causes design breakage ( apart from greater bandwidth consumption due to large size)

Comments

heine’s picture

Category: bug » feature
heine’s picture

Category: feature » support
Status: Active » Fixed

Override theme_comment_attachments in your theme and create a link to the appropriate imagecache-enabled file (usually "[file_directory]/imagecache/[preset]/filename").

minesota’s picture

Have you tried the solution?
Is it possible to provide a patch?

I find that image attached via comment ( where multiple attachments are allowed ) do not get processed / resized according to imagecache presets so that they are not deposited in the specified folder. Node images do.
With theme codes probably image will show up in lesser width or height but will not be actually
lesser sized image which is what imagecache processing does.

In case there is single attachment there is no processing at all so that no image shows up.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.