vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   auto detecting image template request (https://vborg.vbsupport.ru/showthread.php?t=52890)

glo 05-13-2003 01:37 PM

auto detecting image template request
 
I am looking for some code which is template based for thumbnails that will automatically generate the full size image. I dont want to create an indiviual template for each and every thumbnail? so is there any coding that can detect the thumbnail request and open the full image from within a template?

filburt1 05-13-2003 01:39 PM

Are we talking about the [img] code and making templates out of that? If so, there's no practical (yes, there is an overly-complicated way) of doing it.

glo 05-13-2003 09:48 PM

Hi Filbert,

I'll try to explain it differently.

Normally, when u click on a thumbnail it will open up the full sized image using the code
<a href="/images/large/photo001.jpg"><img src="images/thumbnails/photo001.jpg"</a>

However, this method is not suitable :rolleyes: when you want it to automatically detect which image was click in order for it to automatically display the large image inside a new window with a banner or particular header on it.

The objective is to allow non-members to view thumbnails and only registered members to view the full image. ( The membership part I can do) So when a vistor click the thumbnail and they are not registered or signed in they are they refered to join or sign in. This can only be done when the image is placed inside a template, hence my need to find a template that will automatically determine which image has been selected then open a new window with the template.

I hope this has helped in explaning what i am looking for?

Im open to suggestions? :classic:

filburt1 05-13-2003 10:25 PM

I still don't understand what you're saying...stock vB and virtually no hacks use thumbnails (the only one I can think of is the one I sell, and my Web Page Gallery's "thumbnails" are really just created by the user)...

glo 05-14-2003 09:40 AM

Hi Filbert and anyone else following this thread!

Have a look at speedoptions and click one of the images.

It will open a new window that seems to be template based and utilises a banner/header and the larger image.

How can i do this?

filburt1 05-14-2003 12:15 PM

If you're talking about just the thumbnails on the home page, check out some image gallery scripts. If you don't want to use the whole script, download it anyway and study the thumbnailing code. :)

glo 05-14-2003 12:30 PM

Hi Filbert1,

I am trying to find the code or script that will open up a new window with a banner above the image.

Not the thumbnail part.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01024 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete