Help - Search - Members - Calendar
Full Version: Image Archive
Movable Type Community Forum > Additional Resources > Tips and Tricks
sbmedia
Hi there,

I need help with this one! I've searched through some of the messages on here for the kind of help I need, but have so far, found nothing.

I'm making a photo-blog, and I'm putting the thumbnail in the Entry Body and the larger version of the image in the Extended Body. Then my individual archives reference the Extended Body only.

What I am trying to do, is rather than having my archive index display the entry titles, I'd like it to display the image thumbnail for each post.

Is this possible?

In my other image-blogs, I have to go in and manually update the archives page each time I add a new image to my gallery. I have tons and tons of pictures sitting on my harddrive that I don't put up because I don't want to spend all that time adding codes. I was hoping that Movable Type has some function that makes my life easier.

Please advise. Your help will be greatly appreciated! smile.gif
gvtexas
A few questions here:

How do you have your archive entries set to save? The default MT way (a number.html) or? I have mine set to use the entry title as the file name, so my first suggestion wouldn't work for me.

You can insert image code in the title field in the MT entry form. This would obviously put your thumb there instead of the body, and you could include the title as well.

Now I imagine what you're going for is a contact sheet short of approach for the archive. That would make this suggestion tough, but if you do the titles right, code a break after image and align image/title (as my sample), might work well. Has some other odd implications for searching, etc., but that may/may not matter to you.

And if you use this solution, then obviously you wouldn't include the thumb in the entry body.

Hopefully someone else has a more elegant solution, but this will work.
sbmedia
Thank you so much for your quick response. I can't believe it was that simpe. I have put the thumbnail in the title so now I do have the contact sheet look. I have to bonk my head on the desk for being so dense. That's definitely the easy way to do things smile.gif

THANKS!!! smile.gif
gvtexas
Wow...that was just a stab in the dark. But glad it worked! (Not to mention it gave me an idea myself...)

When you get finished, come back and post a link to your archive page in this thread (will help future folks, as I'll take down my sample link now.)

biggrin.gif
gvtexas
QUOTE (gvtexas @ Jan 15 2004, 10:51 AM)
How do you have your archive entries set to save? The default MT way (a number.html) or?  I have mine set to use the entry title as the file name, so my first suggestion wouldn't work for me.

Nothing like having to correct one's self to deflate the ego...(in this part of the world, crow tastes best with a jalapeno...). Thought I'd correct my faux pas here and now.

For the record, I have my individual archives to save thusly on the archiving page of the config:

CODE
<MTEntryCategory dirify="1">/<MTEntryTitle dirify="1">.php


So of course, all html-like text is stripped out, resulting in:

CODE
A title field that contains this:

<div style="text-align:center;"><img alt="BH2.gif" src="http://www.domain.com/path/images/BH2.gif" width="148" height="144" border="0" /><br />MY POOR UNCLE</div>

...becomes simply this as a file name:

my_poor_uncle.php
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.