Displaying thumbnail images using displayimage? Displaying thumbnail images using displayimage?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Displaying thumbnail images using displayimage?

Started by DanAtkinson, March 09, 2006, 10:23:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DanAtkinson

Hi there,

After having a look at some topics for this answer (to no avail) I thought I'd come here and ask about this fairly trivial question.

Basically, I have some code on my website which I wish to use on my main blog which I'd like to intergrate with CPG.

When looking at the thumbnails page on my gallery, I noticed that the thumbnail image is actually the thumbnail image of the fullsize image itself embedded in a link to the actual picture. Is it possible to make a call to displayimage.php which asks for a picture to be displayed as a thumbnail?

For example:
http://www.example.com/cpg144/displayimage.php?album=lastup&cat=0&pos=2&thumbnail=1.

I'm not sure if there is a query able to do this, but if there is, it would help me immensely.

This would be implemented in a nice webpage which outputs the three latest images in my gallery and allows users to open them inside the page (an AJAX script of sorts).

Of course, if this works, I'll expand it so that I can be able to retrieve an entire gallery in the same page without having to load (and reload) pages. Thus saving on bandwidth.

Thanks in advance.