mending 0 Report post Posted August 4, 2011 Hi there, How can I list the featured image (or thumbnail of an inserted image) of all my Posts like it's done here: http://onecph.net/?page_id=22 Is there a way with the current theme or do you know of a template og plugin? I have scearched and searched with no luck :-( Share this post Link to post Share on other sites
bevj 0 Report post Posted August 5, 2011 tried using boxes? Share this post Link to post Share on other sites
catrina 103 Report post Posted August 5, 2011 There is Carousel for displaying featured images from posts, but it's not in the format you want. I also suggest boxes (as mentioned above). Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
kastelic 6 Report post Posted August 5, 2011 You can use a hook to insert a custom loop on the page using query_posts() http://codex.wordpress.org/Function_Reference/query_posts With this you can use the get_post_thumbnail() (i believe) template tag to output the post thumbnail . Share this post Link to post Share on other sites
mending 0 Report post Posted August 5, 2011 What I want to do is simply to show the single image (either inserted with the Add an image" or as a Featured image) from all my Posts and list them like this http://mending.dk + have them open up in it's original size when clicked (via Fancybox plugin) Unfortunately I don't know much about programmering and find the PlatformPro blog settings and possibiities very limited. Share this post Link to post Share on other sites
kgstew 2 Report post Posted August 5, 2011 If you want this to happen automatically you will need to get into the solution that kastelic suggests. It will take some custom coding to make your site pull the images from your posts and create the links on your site as you suggest. If you want to add the images manually, boxes are going to be the recommended method. You can create as many boxes as you want and have them appear as images on the page. However they will not automatically be thumbnails and open with Fancybox. You would then need to add a class to the images using hooks to make Fancybox recognize the images as thumbnails. The easiest way for you to do this will be to create a page for your images, insert each image onto the page and use HTML and CSS to layout and style the images as you want and link them to the full size image. The only difference on the mending.dk site is they use javascript to resize the images into thumbnails to appear on the page. Share this post Link to post Share on other sites
mending 0 Report post Posted August 6, 2011 Hi again Thanks for the suggestions. If I want to keep using the default layout of PlatformPro, how is it then possible to adjust the size of the "Featured" image thumbnail here. Can it something else than 40x40 px? http://wordpress.mending.dk/category/posts/ and why is my image stretched here: http://wordpress.mending.dk/miklos-szabo/ Share this post Link to post Share on other sites
catrina 103 Report post Posted August 6, 2011 Do you only want the Featured image size to change in that given category page? The image is probably stretched because of width and/or height parameters added to the image. Right now the dimensions set for the image (in HTML) are: width="882" height="450" Please open the page in the page editor, view the HTML editor, and remove that bit of width/height code shown above. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
mending 0 Report post Posted August 7, 2011 Yes, I would like the Featured Image to be at least the size it is in normal Blog Layout Mode. Where is this (the size) controlled for the Magazine Layout Mode? The images uploaded for Features are 882x450 px. I have set the height to 450 px in Feature settings, but apparently this also affects images in Single Posts, forcing them to stretch. Isn't that inconvenient? Share this post Link to post Share on other sites
catrina 103 Report post Posted August 7, 2011 I thought that image that was stretched is contained inside a post, not a featured image. If it's a featured image (which is uploaded to show a thumbnail) and the setting is also changing the size of the images in single posts, that shouldn't be happening. How are you placing the images in single posts? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
mending 0 Report post Posted August 7, 2011 I have set the Feature Post Source to "Use Post Category" for the Homepage. In order to show a thumbnail image for the posts here: http://wordpress.mending.dk/category/posts I have "Set featured image" (the same image as I use for Feature Background Image). You can see this done for the "Miklos Szabo" post. I would like to change the size of this thumbnail to something else than the default 40x40 px. This doesn't seem to be possible? In order to show the image in single posts I have inserted an image into the post using "Add an image" and "Insert into post". This unfortunately results in the image being stretched as you can see here: http://wordpress.mending.dk/miklos-szabo/'>http://wordpress.mending.dk/miklos-szabo/ as the image seems to hold the height set to 450px in the "Feature Area Height" setting. This results in un-proportional scaling of images on single post pages and is obviously a bug. In addiction: Why do I need in insert the same image 3 times for every single post in order to: 1. Show post image as Feature Background Image on the homepage 2. Show a thumbnail on Blog post layout (http://wordpress.mending.dk/category/posts/) 3. Show an image on the single post page for the post (http://wordpress.mending.dk/miklos-szabo/'>http://wordpress.mending.dk/miklos-szabo/) Why can't the same image be used in all 3 situations somehow clever? Share this post Link to post Share on other sites
catrina 103 Report post Posted August 10, 2011 1. In the Feature, the media image is different from the background image. If you wanted the featured image to show up in the feature, it would have to be displayed as a media image (not a background image), so that is why the Feature Background image has a separate setting. 2 and 3. "Set featured image" is used to show the image thumbnail (it can't be both a thumbnail and an image at the same time, so that's why the image needs to be created in the post text editor separately). Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
mending 0 Report post Posted August 10, 2011 Hi again, So I have to insert the same image 3 times for each post in order to show it: 1. As a Feature on my Homepage. 2. As a Post thumbnail on a Blog page. 3. As a an image on a Single Post? I would still like to change the size of this thumbnail to something else than the default 40x40 px as explained in my previous comment. Also I still have the problem with the image on Single Posts being stretched. Share this post Link to post Share on other sites
Kate 3 Report post Posted August 10, 2011 Hi Mending, Unless you've chosen to use a post category as your "source" for the features. 2) The thumbnail on the blog page is chosen via the Featured Image option. 3) Yes... this would be different than the featured image. Now, there is a way in the PHP code to modify your code so that it would pull the first image attached to the post. What that means is you wouldn't have to use the featured image. Instead, if a featured image isn't listed, you can pull the first image inserted into the post. (You could also do the opposite... and add PHP code to display the featured image above the single post.) Just a couple of ideas Share this post Link to post Share on other sites
mending 0 Report post Posted August 10, 2011 Hi there, 1) Exactly! I have chosen to use a post catergory as source for the features. Still I manually have to insert the image for the feature via the Feature Setup Options at the bottom of the specific Post. Plus insert the same image as a Featured Image to show a thumbnail on the blog page overview. Plus insert the same image again via "Add an image" to have an image shown on the single post page. This is complicated and inconvenient. Can you please confirm that the above is standard procedure? Regarding PHP modifications where (in which file) would I change this and would you have any tips on how to do it? Share this post Link to post Share on other sites
kastelic 6 Report post Posted August 10, 2011 Here's a tip I would do: Read the doc on hooks: http://www.pagelines.com/docs/base-child-theme These will allow you to insert custom PHP code at the places you need by making functions in your functions.php. Here's an example: add_action('pagelines_before_excerpt','insert_image'); function insert_image(){ if ( is_category(1) ){ the_post_thumbnail( array(100,100) ); } } You can use the_post_thumbnail() to insert the featured image at any size you need. You can copy the function and change the "pagelines_before_excerpt" to other hooks to get them in other places. Share this post Link to post Share on other sites