Hi I installed K2 sometime back and have been trying to use the portfolio (not sortable) template to showcase my team members.
Prelude To the problem: I create a new item with the category as portfolio. I go to attachments and add a few images which are 300 x 450. I have timthum also installed.
Problem: The attachments by default resize to 540x300 in the category layout and each individual item the attached images resize to 620x380.
Solutions Tried but failed: I tried changing the css values to see if the image resizes but it doesnt.
The image url in the category layout is like this:
http://.../lib/timthumb.php?src=http://....//media/k2/attachments/Image1_0.jpg&w=540&h=300 (there are double slashes before media)
The image in the item page is like this:
http://.../lib/timthumb.php?src=http://...//media/k2/attachments/Image1_0.jpg&w=620&h=380
Requirement: I want the image links to generate something like
http://.../lib/timthumb.php?src=http://...//media/k2/attachments/Image1_0.jpg&w=300&h=450
I can change the css fields respectively, but the image url generated needs to be in correlation with the sizes.
Thanks,
Prelude To the problem: I create a new item with the category as portfolio. I go to attachments and add a few images which are 300 x 450. I have timthum also installed.
Problem: The attachments by default resize to 540x300 in the category layout and each individual item the attached images resize to 620x380.
Solutions Tried but failed: I tried changing the css values to see if the image resizes but it doesnt.
The image url in the category layout is like this:
http://.../lib/timthumb.php?src=http://....//media/k2/attachments/Image1_0.jpg&w=540&h=300 (there are double slashes before media)
The image in the item page is like this:
http://.../lib/timthumb.php?src=http://...//media/k2/attachments/Image1_0.jpg&w=620&h=380
Requirement: I want the image links to generate something like
http://.../lib/timthumb.php?src=http://...//media/k2/attachments/Image1_0.jpg&w=300&h=450
I can change the css fields respectively, but the image url generated needs to be in correlation with the sizes.
Thanks,