View Full Version : Imagefolio Pro random image
babycarrots
07-11-2004, 02:38 AM
I'm not sure if it's possible to make a module out of this or not...I just want someone who's got the know-how to tell me if it can be done. Here's the link to an example of their random image and a link to their random image script:
http://demo.imagefolio.com/demo/randthumb/index.shtml
Main site for their software: http://www.imagefolio.com
Thanks,
babycarrots
BoNfiRe
07-11-2004, 07:43 AM
at first glance I though nice n ez but then realised it's cgi not php so now i'm a little lost maybe Brian could help you out
babycarrots
07-11-2004, 01:37 PM
Yeah that was what I was afraid of...I had a feeling this probably can't be done seeing that the script for the random image is cgi. The two would probably clash.
BoNfiRe
07-11-2004, 01:49 PM
well I just noticed below that it uses I-Frame's lol try this .....
add a new template called vba_portal_randomimage and put the following in it
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Random Image</strong></span>
</td>
</tr>
</thead>
<tr>
<td class="$getbgrow" width="100%">
<iframe width="150" height="220" src="http://www.yourdomain.com/cgi-bin/imagefolio/randthumb.cgi" scrolling="No" marginwidth=0 marginheight=0 frameborder="No"></IFRAME>
<layer width="150" height="220" src="http://www.yourdomain.com/cgi-bin/imagefolio/randthumb.cgi"></layer>
</td>
</tr>
</table>
<br />
Then add a module via your admin cp where it says Or template to include put randomimage
Also don't forget to change http://www.yourdomain.com/cgi-bin/imagefolio/randthumb.cgi to match your site
babycarrots
07-11-2004, 04:01 PM
Thanks very much Bonfire!
I'm testing out the script before I make the template itself and I'm getting errors with it saying it's unable to create cache files. I'm contacting the owner of the software. Hopefully he will be able to assist me with whatever the problem is. I really appreciate your help with the template for it. Hopefully after the problem is resolved, I will be able to use it! :)
babycarrots
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.