- b2evolution CMS Support Forums
- b2evolution Support
- General Support
- cropping the images, and using them IN the post
1 topanga Aug 28, 2009 21:59
My b2evolution Version: 3.3 stable
There is the widget 'photoindex' that makes very nice cropped square images from your files.
When I try to use these same 'cropped square images', in my posts itself, I don't get what I want.
So what is it that I want :
On my posts.main.php I want to show a cropped118x118 image (so all the images on my frontpage are the same. When you click on them, the same as usal happens : the 'big' image opens.
I have already this in my post, but it did not do the trick.
<?php // ---------------------- POST CONTENT INCLUDED HERE ---
skin_include( '_item_contentposts.inc.php', array(
'image_size' => 'crop118-118',
) );
// -------------------------- END OF POST CONTENT ------------------?>
Can somebody help me please ?
this is the temp-blog that I'm trying on : http://b2e331.tenderfeelings.be/blog1.php
edit : offcourse I altered the tumbnailsize table, so it includes my particular size
$thumbnail_sizes = array(
'fit-720x500' => array( 'fit', 720, 500, 90 ),
'fit-640x480' => array( 'fit', 640, 480, 90 ),
'fit-520x390' => array( 'fit', 520, 390, 90 ),
'fit-400x320' => array( 'fit', 400, 320, 85 ),
'fit-400x266' => array( 'fit', 400, 266, 85 ),
'fit-320x320' => array( 'fit', 320, 320, 85 ),
'fit-160x160' => array( 'fit', 160, 160, 80 ),
'fit-118x118' => array( 'fit', 118, 118, 80 ),
'fit-160x120' => array( 'fit', 160, 120, 80 ),
'fit-80x80' => array( 'fit', 80, 80, 80 ),
'crop-118x118' => array( 'crop', 118, 118, 85 ),
'crop-80x80' => array( 'crop', 80, 80, 85 ),
'crop-64x64' => array( 'crop', 64, 64, 85 ),
'crop-48x48' => array( 'crop', 48, 48, 85 ),
'crop-32x32' => array( 'crop', 32, 32, 85 ),
'crop-26x26' => array( 'crop', 26, 26, 85 ),
'crop-15x15' => array( 'crop', 15, 15, 85 ),
);
ok, the solution was so mutch more simple then I could imagine (and it was PICNIC after all)
I made a typingerror