Hi there.
I'm using imagefield for image field in CCK. The image is resized to right size and the whole page is being design using contemplate. Its works fine but I like the image displayed to act as a link to the original size one in a blank page. I'm looking for a way to patch imagefield module so it saves the original image along with the resize one.
What I'm doing right now is having 2 imagefields in my content type - one called 'image' and the second called 'original image'. 'image' is being resize and 'original image' doesn't. I'm using contemplate to display 'image' in the page and using the 'original image' just as a link. The thing is the user have to load the same image twice in order to save it in original size as well (and its double work - not very friendly...).
I would appreciate any guidelines to patch this module or other ideas how to achive that goal in an elegant manner.

Comments

quicksketch’s picture

Hey there, you should use the imagecache module to create thumbnails and save the various sizes of images. Its project is at http://drupal.org/project/imagecache. Lullabot wrote up an article on imagecache on their website: http://www.lullabot.com/articles/image_and_image_exact_sizes_vs_imagefie...

Good luck!

Nathan Haug
creative graphic design        w: quicksketch.org
& software development       e: nate@quicksketch.org