Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59851?pagenum=1
06 November 2025, 06:40
Topic
Davecl
Show albums with new pictures?
13 October 2005, 01:52
Is there a way to show say the last 5 albums with new pictures on the default forum page??
using the photo album mod.<
Replies ...
Helterskelter
13 October 2005, 03:29
Nope.... this has been talked about but nobody has had the time to do.
I'm using a random picture, but it only loads from the account u set it to.
Helter<
imweazel
13 October 2005, 08:16
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<
Davecl
13 October 2005, 09:02
thanks
maybe i can figure something out from the code of this add-on, then again maybe not <
Davecl
23 October 2005, 15:02
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<
Helterskelter
23 October 2005, 17:26
I'll be intrested in the code your using.
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 '#################################################################################
but i don't want to make a link to the page, i want the page to appear here ??????<
Helterskelter
25 October 2005, 11:36
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
I cant think of what else to do then, i guess u could call a iframe but an include sould do the work as there's no external data.
Let me know how it goes, as it would be good to get working, I'll have a look at the other code when i get time but I get very little of that ATM.
Helter<
Davecl
30 October 2005, 01:56
can we go to email helter???<
Davecl
04 November 2005, 09:41
had any luck helter???<
Helterskelter
13 November 2005, 15:53
http://www.livingfish.co.uk/test/<
Davecl
15 November 2005, 05:16
thanks for all your help mate, it's up and running <
Davecl
18 November 2005, 10:09
woo woo
now got it showing thumbnails of the last 20 pics, unfortunately one doesn't display but this is because the phto album mod doesn't make a thumbnail of animated gifs and this pic is an animated gif
Also because of the sql i had to use the pics are not in order of latest added but are in alphabetical order of the members name but it works.
I would also like to explain that if one member adds 20 pics then this does not display just that members pics, it only displays one and then goes to the next latest pic by a different member, so users can see the last 20 members who uploaded a pic not just the last 20 pics if you see what i mean.
check it out http://www.parrotlinks.com/forum2/default.asp
<
Riccardo
18 November 2005, 10:31
Hi!
I've installed the Add on. Can i have the code for seeing the picture in the "homepage" of the forum like yours?
the .txt file you gave is unavailable.
another question: where i'll put the code you'll give me? thanks<
Classicmotorcycling
18 November 2005, 19:08
I would not mind getting the code that Davecl has as well.. Do you think that you may be able to share it at all?<
Helterskelter
19 November 2005, 06:45
You dont have to change any files to the photo ablum, just upload the code (I just had to edit a couple of things) and edit default.asp, had it working in under 5 min's.
It needs some formatting code added but I'm away 2day.
If Davecl dose release this then it would be a massive bost to the photo album.
<
Riccardo
19 November 2005, 08:30
Sorry but I have uploaded the files..but i still not see the Last images in Default.asp... what is the code to permit this option??<
Helterskelter
19 November 2005, 15:17
If u got the code from Davecl and have the normal photo album installed (From snitzbitz.com) on default.asp find
Code:
'photo album insert into main page %> <!--#include file="inc_photo_album.asp"--> <% 'end insert
The Add on works perfectly.
Is there a way to view the pic in Default.asp directly by clicking on it?
At the moment i click on the thumb but after that I see the Photo_album_cat.asp It would be great to see the real size image or the descricption present in the Photo Gallery instead of Photo Album home page: (photo_gallery.asp?action=displayimage&photo=50&loc= etc etc etc).
Could you work on it?
thanks riccardo<
Riccardo
21 November 2005, 03:44
Here an example with a pic.
Is it possible?
after clicking on the image in Default.asp..i'd like to view that! (thi s is into the Photo_Gallery.asp page): <
Davecl
21 November 2005, 04:10
It's probably possible Riccardo, may work on it when i get the chance. Don't hold your breath though, quite busy at the mo.<
Riccardo
21 November 2005, 04:44
Ok, i'll wait..you could also write me an email when you're ready.
riccardo<