Hello friends
Where I can change the dimensions of the image that appears in colorbox?
The options go, most do no effect.
I tried to change the css and I get always distorted image in colorbox.
All options and drupal cache firefox both are disabled.
The theme I use is pixture reload.
The URL of the web is www.kilometropuntocero.es
thank you very much
regards

Comments

duckzland’s picture

The colorbox content get the image from the zoomed image which used vt_commerce_image_zoom image style.

The recommended size is 3 times larger than the small image that used vt_commerce_image_large image style.

if you get blurry image in colorbox, you'll need to upload larger image or set the zoom style smaller.

carlosnano73’s picture

Hello
Thank you very much.
I'm looking at the file vt_commerce_image.module
He seems to have a bug here:
No goog:
'width' => variable_get('vt_commerce_image_width', 460) * 2,
'height' => variable_get('vt_commerce_image_width', 360) * 2,
Correct:
'width' => variable_get('vt_commerce_image_width', 460) * 2,
'height' => variable_get('vt_commerce_image_height', 360) * 2,

Another problem, not deleted from the cache.
Cache drupal and firefox disable, and de change no effect.
Flush all cache and change no effect.

Tanks
Best regards

duckzland’s picture

Thanks for the info, I'll fix the bug and do a new release soon.

as for the cache, you can clear the image cache by manual deleting the image folder or go to image sytle admin and resave the style which will invoke the image flushing.

carlosnano73’s picture

Hi, thanks
Delete all files and folders in /sites/default/files/styles?
Sorry, I do not quite understand
Best Regards

duckzland’s picture

In order to clear image created by image style so it will build a new one you will need to resave the image style form or remove the directory where that image style saved the image built.

carlosnano73’s picture

Thanks
All rigth
Happy holidays