Recent Topics

1 Jan 06, 2014 10:57    

Hi B2evo support,

I just could not figure out how to display the thumbnail (Simple Post List).

I tried all the settings from the back office, but still nothing has changed.

Using b2evo 5.0+ , and mystique skin.

Thanks!

B2evo user for over 2 years now. :)

3 Jan 06, 2014 12:16

@mgsolipa

Works like a charm. I guess, the documentation should include what you said "only will work for those posts that actually has any linked image."

Amazing. Thank you so much!

4 Jan 06, 2014 13:03

You're welcome @dh.com

Your suggestion has been added to the manual page.

Thanks!

5 Apr 24, 2014 04:20

Hello. Do you know how to resize and reposition thumbnails in the post list on the main page? I am using linked files to get them to appear in the excerpt. I am trying to get them bigger and maybe floated left. Thanks for any help. chileno.co.uk if you want to see how they are now. mojo.

6 Apr 24, 2014 17:39

so, not sure if this is the best way to do things but I can edit _item_content_inc and change excerpt_image_size (line 50 in my file). I can resize to say 'crop-80x80' or 64x64 but not higher, say 128x128. Is there any reason for that not working? Thank you.

7 Apr 26, 2014 00:58

Hi, I have taken a look in _advanced.php for thumbnail sizes

$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-320x320' => array( 'fit', 320, 320, 85 ),
			'fit-180x180' => array( 'fit', 180, 180, 85 ),
			'fit-160x160' => array( 'fit', 160, 160, 80 ),
			'fit-160x160-blur-13' => array( 'fit', 160, 160, 80, 13 ),
			'fit-160x160-blur-18' => array( 'fit', 160, 160, 80, 18 ),
			'fit-160x120' => array( 'fit', 160, 120, 80 ),
			'fit-80x80' => array( 'fit', 80, 80, 80 ),
			'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-15x15' => array( 'crop', 15, 15, 85 ),
			'crop-top-80x80' => array( 'crop-top', 80, 80, 85 ),
			'crop-top-64x64' => array( 'crop-top', 64, 64, 85 ),
			'crop-top-48x48' => array( 'crop-top', 48, 48, 85 ),
			'crop-top-32x32' => array( 'crop-top', 32, 32, 85 ),
			'crop-top-15x15' => array( 'crop-top', 15, 15, 85 ),
	);

Is there a way to customise? I tried to add a line and change the excerpt_image_size in _item_content_inc but images do not show. Any help appreciated. Thanks.

8 Apr 26, 2014 22:56

Hi @, and

I saw the images in your RSS, they are fit-320x320 (http://chileno.co.uk/media/blogs/a/_evocache/shark.jpg/fit-320x320.jpg?mtime=1398260282), and the full text of the posts is shown, not only the excerpts. By the way, there is a SSL issue that you should attend (clicking the RSS icon at the footer).

Just a couple of questions, did you check this page before: http://b2evolution.net/man/images-on-rss-when-excerpt-mode-selected? and, what size do you want to set in the images to be included in the excerpts?

Regards!

9 Apr 27, 2014 17:18

Thank you mgsolipa. I have changed the rss link. Thanks for the link as well I will have to sort out the rss feed shortly. The excerpt images are fit 160x160. I guess they look ok but thought you could add in larger sizes there. Dunno on best size yet tbh but a newspaper i like has 180x135. Cheers.

10 Apr 27, 2014 22:35

On the other side (that is, in the posts themselves) I would like to customise the image sizes as well. They are currently fit-400x320. I might want them up to 600 though. I have tried to change this under 'image_size' in _item_content.inc.php, specifying 640x480 which is found in _advanced.php with no luck. Any ideas on what I am doing wrong? Many thanks.

11 Apr 28, 2014 02:43

Check if your pages are cached. If so, clear out cache and reload. Make sure that you are changing _item_content.inc.php which is found inside your skin folder. If it still mocks around, search all the files inside your skin folder for "400x320 and see what you can find.

12 Apr 28, 2014 03:04

Thanks achillis, I emptied cache but no joy. In desperation i created an entry in $thumbnail array in _advanced.php (which I've put in my skin folder) called fit-600x300 and then added that to value to param 'image_size' in _item_content_inc.php (in my skin). I then created a bunch of images at this size to use and even put on in the _evocache folder (and renamed it to fit-600x300.jpg) to force it to display - but nothing. Can I leave image_size blank or something to have the linked file display at full size (600x300 in this case)? I will go and have a search around for 400x320 as you say. Cheers.

13 Apr 28, 2014 17:54

Ok, so I have found the culprit in my single.main.php

				<?php
					// ---------------------- POST CONTENT INCLUDED HERE ----------------------
					skin_include( '_item_content.inc.php', array(
							'image_size'	=>	'fit-640x480',
						) );
					// Note: You can customize the default item feedback by copying the generic
					// /skins/_item_feedback.inc.php file into the current skin folder.
					// -------------------------- END OF POST CONTENT -------------------------
				?>


which you should be able to see that I have changed now. Images display as desired now, thanks a lot achillis. Still not able to scale up the excerpt images though.
Ok, so last thing that is bugging me about excerpts. Maybe I should post this somewhere else but wanted to know if anyone has a solution for what to do with thumbnails for video (youtube & vimeo). Any thoughts on how to get those (I know youtube provide 3 or 4 thumbnails attached to each video) to show up in an excerpt/rss?

Thanks if anyone knows.

14 Apr 28, 2014 21:55

@mojolazarus I am glad you got that sorted. The excerpt image size works the same way and you may find it is also overridden somewhere as with your single.main.php example, it should be



<?php
                    // ---------------------- POST CONTENT INCLUDED HERE ----------------------
                    skin_include( '_item_content.inc.php', array(
                            'image_size'    =>    'fit-640x480',
'excerpt_image_size'    =>    'fit-640x480'

                        ) );
                    // Note: You can customize the default item feedback by copying the generic
                    // /skins/_item_feedback.inc.php file into the current skin folder.
                    // -------------------------- END OF POST CONTENT -------------------------
                ?>



If you are looking for the image size displayed for rss perhaps you should look in the _rss2 skin folder. As for the YouTube Thumb, start a new thread. But off hand it must be a function of the video plugin in the plugin directory.

15 May 03, 2014 01:25

ok, great, thanks for the help.


Form is loading...