Clickable Thumbnail/Featured Image while still using "More" tag
I did my homework reading up on thumbnails and excerpts, but I need a little help...
Here's what I want:
I can make this work by selecting the "featured image" for the post and then dropping the excerpt in the "manual excerpt" box, right? If that's the case, a couple of questions:
|
I think the easiest and most straight forward approach is the following.
|
Quote:
...because if that's true, that's really awesome. Are thumbnails only sized down, or will they be sized up to the maximum in the thumbnail settings? In general, we tend to run big pictures on the main page (not a lot of rapid-fire content), right up to our 720px wide fixed width. Of course, not all available pictures are that big, so sometimes we run 600 or whatever. Would a 600px wide image be resized to 720 if I make the thumbnail "box" 720? I know I could figure a lot of this out by trying it out, but the site's live full time and I don't have a practice/sandbox blog to do testing on. |
The images themselves won't auto link to the post but you could set the link to do that when you create the post.
I just went into my test and sized the post image to a small size and it still shows as the now larger thumbnail size so it seems to work both ways. You really shouldn't upload a 600px image and have the thumbnail set to 720px though as you will lose quality. I would upload a 1000px image and insert it into the post as the size you want it to show when people see the full post and let the thumbnail be sized down to 720px. I say 1000px as that is the size I upload many pictures to give me freedom to play around. |
Quote:
*My site is a car blog, largely focusing on the rarer/stranger segments of the automotive universe. We run a lot of posts on ebay/craigslist finds, and the images from there are frequently small and crappy. Quote:
...what I'm really tempted to do is go edit the code for the image placement dialog so that "Post URL" goes sets the link to the full post URL, not that maddeningly useless "attachment" page. |
What do you mean by the "maddeningly useless "attachment" page"?
|
In the dialog where you set the image properties (size, left/right/none justification, etc) there are 3 options for or what the Link goes to
"None" = image is not a link "Image URL" = clicking on image takes you directly to image file (http://{URL}/coolcar.jpg) "Post URL" = clicking on image takes you to a blog-post looking page that contains the image in medium size, with a link set to the image file URL. It loads the full "post" interface with comments and everything. This is of no use to me or my readers, as if they want to see a bigger version of an image that's a 150x150 thumbnail (common definition, not WP's), they don't want to go to a yet another page where they have to click on the image yet again to get to the file. Hence, useless. Maddeningly so. |
Thanks... That is kinda useless.
|
I'm gonna continue my own threadjack here to see if anyone can weigh in.
I've decided to see if I can tweak the code that controls the picture link options so that clicking "Post URL" makes it link to the Post's permalink. I've burrowed all the way down in in "wp-admin/includes/media.php". The code that controls those buttons is this: PHP Code:
$link = get_attachment_link($post->ID); to return the permalink of the post, then that should do it. I tried: $link = get_permalink($post_id); but that doesn't work. How do I pass the permalink of the post to $link? |
All times are GMT -6. The time now is 04:08 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.