View Single Post
Old August 30th, 2008, 06:00 PM   #1 (permalink)
dfidler
Junior Member
Verified Customer
 
Join Date: May 2008
Location: London, UK
Posts: 8
[suggestion] Modify vBGallery displayimage.php to display thumbs

I couldn't find an easy way to display a thumbnail so I made the following mod to displayimage.php

Find the two instances of the following code in gallery/displayimage.php

Code:
Content visible to verified customers only.
and change it to the following:

Code:
Content visible to verified customers only.
Now, you can fetch a thumbnail by using:

Code:
Content visible to verified customers only.
This means that you can easily write third party programs that fetch thumbnails from the system without having to import vB of vBGallery libs.

(for instance, for making a [galleryimage=imageid]Alt Text[/galleryimage] bbcode. (http://www.photopost.com/forum/vbgal...thumbnail.html)
dfidler is offline   Reply With Quote