The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Is there a way to show say the last 5 albums with new pictures on the default forum page??
using the photo album mod.<
Dave
Posted
Posted
There is a Photo Gallery add on for Burthold's Photo Album that shows the last 12 shots in the gallerys main page.
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=218<
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=218<
Last edited by imweazel on 13 October 2005, 08:16
Posted
thanks
maybe i can figure something out from the code of this add-on, then again maybe not
<
maybe i can figure something out from the code of this add-on, then again maybe not
Dave
Posted
okay, i've now developed my own page to show the last 20 albums that have pics added (not using the code above though, that was beyond me), it's very rough and ready but it works.
now i need to get it to show on default.asp in the space marked by the red cross
i think i need to do this with an include in inc_photo_album.asp, text file http://www.parrotlinks.com/incphotoalbum.txt but I can't seem to get the placement of the include right, it either appears in 2 different places and on a black background or throws up erroneous errors. if i go straight to the page in my browser it's fine, it's just the placement of the include that's eluding me. any help greatly appreciated<
i think i need to do this with an include in inc_photo_album.asp, text file http://www.parrotlinks.com/incphotoalbum.txt but I can't seem to get the placement of the include right, it either appears in 2 different places and on a black background or throws up erroneous errors. if i go straight to the page in my browser it's fine, it's just the placement of the include that's eluding me. any help greatly appreciated<
Dave
Posted
I'll be intrested in the code your using.
Have you tried it in a table?
Hope that helps.<
Have you tried it in a table?
Code:
<%
'#################################################################################
'# Copyright (C) 2000-02 Wesley D. Brown
'# Photo Album v.05 for Snitz 3.3.05
'# This is include for default.asp it builds the small table needed for navigation
'#################################################################################
Response.Write " <tr>" & vbNewline & _
" <td bgcolor=""" & strCategoryCellColor & """ colspan=""" & sGetColspan(7,6) &_
"""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """ size=""+1""><b>Photo Album</b></font></td>" & vbNewline & _
" </tr>" & vbNewline & _
" <tr>" & vbNewline & _
" <td rowspan=""" & vbNewline & _
" 1"& vbNewline & _
""" bgcolor=""" & strForumCellColor & """> </td>"& vbNewline & _
" <td bgcolor=""" & strForumCellColor & """ colspan=""6"">" & vbNewline & _
" <TABLE border=0 width=""100%""><TR>" & vbNewline & _
" <TD width=""50%""><font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">"&strForumTitle&" Photo Album</a></font>" & vbNewline & _</TD>" & vbNewline & _
" <TD>link code here</TD>" & vbNewline & _
" </TR></TABLE>& vbNewline & _
"
" </td>" & vbNewline & _
" </tr>" & vbNewline
%>Hope that helps.<
Last edited by Helterskelter on 23 October 2005, 17:28
Posted
but i don't want to make a link to the page, i want the page to appear here ??????<
Dave
Posted
Then place the code calling the data there
If you looking at formatting the images into their own table then that will have to be done in your codeing. But you may want to place the images under the text not next to it. To do that try.
replacing
With
<
If you looking at formatting the images into their own table then that will have to be done in your codeing. But you may want to place the images under the text not next to it. To do that try.
replacing
Code:
" <TD>link code here</TD>" & vbNewline & _
" </TR></TABLE>& vbNewline & _ With
Code:
" <TABLE border=0 width=""100%""><TR>" & vbNewline & _
" <TD><font align=left face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""photo_album.asp"">"&strForumTitle&" Photo Album</a></font>" & vbNewline & _</TD>" & vbNewline & _
" </TR> & vbNewline & _
" <TR> & vbNewline & _
" Code Here & vbNewline & _
" </TR> & vbNewline & _
" </TABLE> & vbNewline & _
Posted
still not got it working, will keep trying :-)<
Dave
Posted
Posted
can we go to email helter???<
Dave
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...