-
heruParticipant
Hi Daniel, thank you for the beautiful themes.
I was using the Minimatica theme but now I would like to use the Pinboard theme.
My problem is the the thumbnail in the home page is now cropped as in your example (The Golden Spiral entry). How can I make the thumbnail to be like that ?
My website is http://www.herfina.com.
Thanks for your support.heruParticipantThanks for your reply. I’ve tried before to rebuild the thumbnails but didn’t work, and today I just tried it again and IT WORKS π !
Now a further question :D. When I click on the thumbnail of a gallery post, it displayed directly the image, together with the other pictures on the homepage. How can I make it to go to the post instead ?
Thanks for your support.Daniel TaraKeymasterShort answer: you can’t.
Long answer: Open the file functions.php, find the function pinboard_post_gallery() and replace this call:
<?php $image = wp_get_attachment_image_src( $attachment->ID, 'full' ); echo $image[0]; ?>
with this:
<?php the_permalink(); ?>
heruParticipantAlmost works π Your suggestion will still open the image pop-up window and when I clicked the picture then it goes to empty screen.
But you gave me the idea, so I compared the entry for the post title and the thumbnails, and I modified the thumbnails entry according to the title entry for the following line:
<a href="" title="" class="colorbox" rel="attachment">
with this:
<a href="" title="ID ) ); ?>" rel="bookmark">
and it works !.
I also modified the pinboard_post_image() function as above.Thanks again for your support.
linsensichtParticipantHey there,
I’m having the same problem with Image-Posts. The Images on the Homepage should link to the posts, not just open itself.
Do I have to combine Daniel’s and Heru’s solution, somehow? Sorry, i don’t have that much php-experience π
Thanks for your support!
You must be logged in to reply to this topic.