Help - Search - Members - Calendar
Full Version: Getting Entry Url For An Asset
Movable Type Community Forum > Using Movable Type > Entries and Archives
Steve Taylor
I've got a basic output of the last 10 image assets in the sidebar, and currently each thumbnail is linking to the full size version of the image.

I want to link the thumbnails to the entry that contains that image, and I can't find anything that will do.

I know assets aren't necessarily tied to one entry, but as far as I know the client whose site it is doesn't re-use images, so there will only be one entry per asset. I just need a way to access the entry's URL.

Any ideas?
dguay
QUOTE (Steve Taylor @ Jul 28 2008, 11:45 AM) *
I've got a basic output of the last 10 image assets in the sidebar, and currently each thumbnail is linking to the full size version of the image.

I want to link the thumbnails to the entry that contains that image, and I can't find anything that will do.



Are you using the images in the sidebar as widgets? My best guess in that case would be to edit each image widget to point to the entry url that you want it to go to.

Hope that helps.
imabug
AFAIK, MT doesn't keep track of what images have been used what entry, so I don't think there's a way to do what you're looking for. that doesn't rule out a plugin providing this kind of management, but not one i'm familiar with
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-2008 Invision Power Services, Inc.