Active
Project:
VT Commerce Image
Version:
7.x-1.0-alpha5
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2012 at 10:42 UTC
Updated:
22 Dec 2012 at 18:16 UTC
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
Comment #1
duckzland commentedThe 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.
Comment #2
carlosnano73 commentedHello
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
Comment #3
duckzland commentedThanks 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.
Comment #4
carlosnano73 commentedHi, thanks
Delete all files and folders in /sites/default/files/styles?
Sorry, I do not quite understand
Best Regards
Comment #5
duckzland commentedIn 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.
Comment #6
carlosnano73 commentedThanks
All rigth
Happy holidays