Closed (fixed)
Project:
Comment Upload
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2008 at 21:32 UTC
Updated:
21 Aug 2008 at 18:33 UTC
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
Comment #1
heine commentedComment #2
heine commentedOverride theme_comment_attachments in your theme and create a link to the appropriate imagecache-enabled file (usually "[file_directory]/imagecache/[preset]/filename").
Comment #3
minesota commentedHave 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.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.