question to Nukie

Discussion in 'Personal and Professional Photography Websites' started by Destiny, Aug 7, 2003.

  1. Destiny

    Destiny TPF Noob!

    Joined:
    Jul 26, 2003
    Messages:
    60
    Likes Received:
    0
    Location:
    Germany
    umm....how do you do that with the most recent photos on your site... Did you write a script for it or do you use any weblog system or something? I'm just asking because I want something similar for my photolog but I don't know yet how to approach it....
     
  2. nukie

    nukie TPF Noob!

    Joined:
    Jul 9, 2003
    Messages:
    284
    Likes Received:
    0
    Location:
    Sydney, Australia
    Now if I told you, I'd probably have to kill you *giggle*

    Everything is being done in MT, so if i'm pasting code and you're not understanding any of it, then that would be why.

    I start with this script. (its cut down to the essentials, just so you get the idea)
    Code:
    <div>
      <a title="The most recent 10 photos" href="http://nukie.net/text.php?p=recent">Most Recent</a>
    </div>
    <MTEntries lastn="3">
      <div>
        <a href="<$MTEntryPermalink$>" title="<$MTEntryTitle$>">
          <$MTEntryMore convert_breaks="0"$>
        </a>
      </div>
    </MTEntries>
    This creates a seperate file which has the heading "most recent" and the three thumbnails with their page links. I then use PHP includes to include it into my individual archives and main page.

    Hopefully that points you in the right direction. But if you've still got no idea, give me a yell :)
     
  3. Destiny

    Destiny TPF Noob!

    Joined:
    Jul 26, 2003
    Messages:
    60
    Likes Received:
    0
    Location:
    Germany
    ok, it does make sense to me :wink: unfortunately, I'm using greymatter, not movable type...
    Do you create the thumbnails yourself and upload them or do you have a script doing that for you?
    Anyway, sorry for bugging you and thanks a lot for helping me :D
     
  4. Destiny

    Destiny TPF Noob!

    Joined:
    Jul 26, 2003
    Messages:
    60
    Likes Received:
    0
    Location:
    Germany
    I just had a look at movable type ....I guess you use their function to have the thumbnails created after uploading an image, right?
     
  5. nukie

    nukie TPF Noob!

    Joined:
    Jul 9, 2003
    Messages:
    284
    Likes Received:
    0
    Location:
    Sydney, Australia
    I used to create the thumbnails on the fly, but that was many moons ago. Now I prefer to create my own, and upload them by themselves.

    As for using MT or Greymatter, it really should make that much of a difference. The principle is still to create another seperate file and include it into your main page.
     
  6. Destiny

    Destiny TPF Noob!

    Joined:
    Jul 26, 2003
    Messages:
    60
    Likes Received:
    0
    Location:
    Germany
    thanks....I already have an idea how to do it...just need some time to figure it out completely ;)
     

Share This Page