https://www.icyphoenix.com/viewtopic.php?f=26&t=808&p=6559#p6559
-----------------------------------
Artie
Mon 08 Jan, 2007 23:08

FAP CUSTOMIZATION - Guest On FAP, Only Thumbnail Please
-----------------------------------
From: 22 Dec, 2006

[quote user="middiu"]hi, 
I want the guests only to see the thumbnails without the possibility to enlarge the pics

how can i do it?

thanks![/quote]

[quote user="Artie"]For your Mid/Full pics on register only. Try the code below.
I only tested this briefly, but seems to work ..... though, will not work if you have [b]View full pic as a popup[/b] set to [b]Yes[/b] in ACP

[code]
#
##------------------- [ OPEN ] ------------------------------------------------
#
 
album_showpage.php

#
##----------------- [ FIND ] ----------------------------------------------------
#

// ------------------------------------
// TEMPLATE ASSIGNEMENT
// ------------------------------------

#
##--------------- [ BEFORE ADD ] -----------------------------------------------------------
#

if (!$userdata['session_logged_in'])
	{
		redirect(append_sid(album_append_uid(LOGIN_MG . "?redirect=album_showpage.$phpEx&pic_id=$pic_id")));
	}
#
## --------- [ SAVE FILE ] ---------------------------------------------
#EoM
[/code][/quote]


