Hi,
here is what i want to do :
I would like to change the Main and Thumbnail Image sizes for 'Article' (on the OP frontpage).
In ImageCache, i just add two new presets :
article_teaser350x100 > actions : scale and crop 350x100
article_full600x300 > actions : scale 600x300
My new presets are recorded with "normal" ("400xY" and "author_photo" are recorded in another mode).
When i want to change and configure "Main Image" (field_main_image) and "Thumbnail Image" (field_thumbnail_image) in the managing field > ImageCrop section, i just can choose between "400xY" and "author_photo" in the list.
I can't select one of my new ImageCache presets in the "enabled imagecrop presets".
Why ?
OP use the "normal" mode for "400xY" preset : how can i change it if a want to useand select my own preset ?
It seems OP is only "fixed" with "400xY"
What can i do ? I really thank you ;))

Comments
Hi, If you want your new
Hi,
If you want your new preset to appear in the Imagecrop options, you actually need to add the Javascript crop action to your Imagecache presets, preferably with the dimensions of the scale & crop. Then you'll be able to pick your new preset on the pop-up.
That done, keep in mind that the $main_image variable is provided by an OP preprocessor in node-article.tpl.inc that uses the 400xY preset, so what you want to do now is modify your node-article.tpl.php:
and use the raw CCK field variable ($field_main_image) and then call theme('imagecache', etc...) with your chosen preset
or alternatively pick your preset for the full node display at /admin/content/node-type/article/display and then use the $field_main_image_rendered in the tpl
hi. I found the original code
hi. I found the original code in the tpl file. Can you just give me the little bit of code i must change in the tpl file ? (just add a field + preset name example for understand what you mean please). Thanks ;))
copring image problem in openpublish
i am having the same probleme as you, i want to change the size of the main_image,
i found that the default 400xY is generated by the file "modules/openpublish_features/op_imagecrop_config/op_imagecrop_config.install" i changed the size in this file, flushed all caches, but the image iis still the same
did you find a solution for that ?