Jump to content


Photo
- - - - -
Resolved

Post Pin Image Sizes?



  • Please log in to reply
4 replies to this topic

#1 owinter86

owinter86

    Member

  • Members

  • 10 posts

Posted 23 November 2012 - 05:32 AM

I currently use anything boxes to display my photography portfolio as i like the way it gives you the option to set the maximum image attachment size, however to style these properly i need set a maximum height so my margins are all inline.

I really like how the post pin plugin styles your images when all displayed together and is how i want my portfolio to be displayed, however it does not let you set the maximum image attachement size, instead i think it creates a new thumbnail size of 600px max length/height. But theoretically i would want one at half this size, and could save maybe 1-2mb of loading time.

Is there anyway to set the maximum attachment size for the featured images used in post pins like anything boxes allows you to, or is there a way of changing the thumbnail size that post pins seems to generate? (I assume post pins generates this thumbnail as my media settings do not have the 600px dimensions in any of the sizes)

This is the anything boxes portfolio display

Please Login or Register to see this Hidden Content


This is how i want the portfolio to look like with post pins

Please Login or Register to see this Hidden Content



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 13192 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 23 November 2012 - 08:57 AM

Hi,

PostPins doesn't use a thumbnail instead it uses the full size image. The ability to use a thumbnail and set the max image size has been requested and this enhancement is on a our tracker.

#3 owinter86

owinter86

    Member

  • Members

  • 10 posts

Posted 25 November 2012 - 11:31 AM

Oh ok, well until then i came up with a solution which was quite an easy fix in the end, i just modified the section.php file of the post pins:

From this

if(has_post_thumbnail($p->ID) && get_the_post_thumbnail($p->ID) != ''){
$thumb = get_the_post_thumbnail($p->ID);.........

To this

if(has_post_thumbnail($p->ID) && get_the_post_thumbnail($p->ID) != ''){
$thumb = get_the_post_thumbnail($p->ID, 'medium');

So now the medium thumbnail image is shown in the post pins, which seems to have done the trick for the moment.

#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 25 November 2012 - 06:42 PM

Great.

#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 25 November 2012 - 06:42 PM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved