Hello there,
When I attach a picture to a node type ( story, blog...), the size of the picture is automatically the thumbnail one.
On some of my content type, I would like the attached picture to be the preview size.
Would it be possible to have this as an option in admin settings for image_attach?
Many thanks,
Drupalworld

Comments

drewish’s picture

Category: feature » support
Status: Active » Fixed

you can do that at the theme layer by overriding the theme_image_attach_teaser function.

drupalworld’s picture

ok, Thanks :)
Drupalworld

aaaaaabsssssgu’s picture

Category: support » feature
Status: Fixed » Active

I would like to request doing this without writing PHP code. Me and many others can't write PHP code but it don't mean we can't build a proper Drupal site, I'm proud about my site, thank you guys for making it possible.

http://www.planetdvb.net/staxrip

aaaaaabsssssgu’s picture

The order is also a issue, I would like to have the image at, the end. I guess it's about time to learn about CCK.

drewish’s picture

Status: Active » Fixed

no need to be passive aggressive, you'd be well served to start using CCK it's a great tool. i think you'll find yourself needing some PHP for theming there too though.

but if you'd like to help out getting your features into the module, please test the patch on this issue: http://drupal.org/node/73854 it also has a discussion of selecting the sizes.

Anonymous’s picture

Status: Fixed » Closed (fixed)