The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   Header image as a thumbnail of 1st attachment? (http://www.thevbgeek.com/showthread.php?t=2771)

trana 01-27-2007 09:50 PM

Header image as a thumbnail of 1st attachment?
 
Does anyone know if this can be done? I would like a GARS post to automatically inherit its header image from the first image attachment in the post. This way people can see the header thumbnail and the actual image when they drill into the post.

Any ideas?

Thanks!

The Geek 01-29-2007 04:38 PM

I suppose a module could be made for this (dont look at me as I look at my watch!!!).

trana 01-29-2007 11:29 PM

I don't think this is exactly a module. What I am suggesting is that the header image that is uploaded can be a full size image (which appears in the header (ok via a module :) )). The image displayed in the threadbit has to be the thumbnail of the larger image.

This keeps it easy for the user, they only upload one image. Also, maybe it is just me but the area inside the header of articles (on the left side) is highly underutilized. A 640x480 image would fit in there perfectly.

Any thoughts on how to accomplish this?

The Geek 01-30-2007 08:49 AM

Sure, use a thumbnail to original custom field. Then use a module to store the thumbnail as the header image or a module that extracts the thumbnail from the custom field. :)

trana 01-30-2007 09:39 AM

OK, so I created a custom field for a thumbnail.

$thread[gars24]

When I put this into a template I just see the image location. Do I need to do anything else to qualify it? Also, how can I access the original image in full size?

Thanks!

The Geek 02-01-2007 03:47 PM

You would need a module that would extract this info at run time and process it accordingly. Hang fire as I may have a solution within the next couple weeks.

HTHs


All times are GMT. The time now is 03:55 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.