Closed (fixed)
Project:
Image Picker
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2011 at 05:18 UTC
Updated:
9 Jul 2012 at 11:31 UTC
I could not found a image size of the zoomed colorbox image.
Right now, users will upload a high res. image 3K+ x 2K+
I would like to auto resize all zoomed images to say 1024x768
Comments
Comment #1
adrianmak commentedProviding another piece of information. I am using image picker module with colorbox.
Comment #2
frjo commentedI have no experience with image picker but your issue is with that module and not with Colorbox.
Colorbox simply looks for links with a class "colorbox" and when these links is clicked it tries to show the link target inside a Colorbox.
If your links link to the full res image Colorbox will show that. If it links to a scaled version it will show that.
I normally upload images to an imagefield and then use image styles (imagecache in D6) to scale them to whatever is suitable for the moment.
Comment #3
hutch commentedImagepicker has support for image styles (imagecache in D6) in the latest dev version.
@adrianmak, if you set the Max width and Max height settings in colorbox configuration your images will be scaled if they are larger than that.
Comment #4
adrianmak commentedI couldn't find max width and max height settings in colorbox configuration page.
Comment #5
lsolesen commentedMoving to Image Picker.
Comment #6
hutch commentedNot sure what you mean by "Zoomed image", but
Set Maximum Scale in configuration page for Imagepicker. This will resize any uploaded images to that maximum dimension (width or height, whichever is greater) if they are larger than that maximum. In your case 1024
To control the size of a Colorbox see the description by the Enable Colorbox load checkbox in Colorbox configuration. Images will be automatically resized to fit.
Comment #7
lsolesen commented