require imagefield scale the original upload image, but keep the original, so "image linked to file" option in display setting will make image linked to the original which is larger. This way, we can save some bandwidth because the smaller image is displayed, and only interested visitor will click to see larger image. Zen Cart use this technique when it troduces products to visitor, a 250x250 is normally displayed in product main page, click the image will display 500x500 image.

If can make the smaller image linked to a larger image and displayed in lightbox is also welcome.

Thanks for your attention.

Comments

drewish’s picture

Status: Active » Closed (won't fix)

that makes no sense. use imagecache to scale the image and have imagefield constrain the absolute original size if you need that. seriously checkout imagecache.

jefftrnr’s picture

Version: 6.x-3.0-alpha4 » 6.x-3.x-dev
Status: Closed (won't fix) » Active

I believe what goldknight was trying to suggest was that an option be added to imagefield which would save an alternate "original" file. That way, imagecache could use this alternate and use far less processing time resizing from it.

When I've tried to upload images from my camera in their original resolution, the large photos slow down my website every time imagecache needs to resize them. Wouldn't it be helpful if imagecache would do all of it's resizing from a scaled-down, alternate source? That source would be saved on upload (scaled as per a setting in imagecache) and would replace the original on the server. The uploaded-original file would be saved in a different location. Now imagecache has this new, smaller file to work from.

Hopefully that's accurate with what goldknight suggests. Either way, I think the feature could be very useful. Though, this may belong as a feature request for the imagecache module, I wanted to see what others thought.

quicksketch’s picture

Status: Active » Closed (won't fix)

I think this is a good suggestion, but at this point it won't be likely that we add this feature to ImageField because the D7 version of ImageField (now part of core) doesn't include this functionality either. We might consider adding it in Drupal 8, but I imagine there's no point in suggesting such functionality without funding a developer or providing a patch, as the current approach works for most users anyway.