|
Page 1 of 1
|
jazzking2001
Joined: July 2007
Posts: 29
|
 FAP CUSTOMIZATION - Mod Request - Generated HTML Clickable Thumbnails
Well i was wondering is this possible?
Photobucket has this feature
it will make it easyer to add pictures from the public gallery onto my sote
|
#1 Sun 22 Jul, 2007 21:57 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
Well i was wondering is this possible?
Photobucket has this feature
it will make it easyer to add pictures from the public gallery onto my sote
Sorry but I can't understand what do you need... isn't the pregenerated BBCode something similar?
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#2 Sun 29 Jul, 2007 14:32 |
|
jazzking2001
Joined: July 2007
Posts: 29
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
what i mean is
on photobucket
you select the pictures you want
then you press
Generate HTML and IMG code
it will give you
Quote: <center>
<a href="http://i23.photobucket.com/albums/b363/jazzking2001/background20intro20pic22D12D1.jpg" target="_blank">
<img src="http://i23.photobucket.com/albums/b363/jazzking2001/th_background20intro20pic22D12D1.jpg"></a>
</center>
what i want is to be able to press a button, similar to the download button, that will give me all the codes *example is in the quote* for the pictures in a folder that i am viewing
|
#3 Mon 30 Jul, 2007 15:03 |
|
Artie 
Joined: January 2007
Posts: 833
Location:  Lone Star State
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
I understand what you are saying, but I don't understand the purpose  Why do you need this code ?
|
#4 Tue 31 Jul, 2007 02:39 |
|
jazzking2001
Joined: July 2007
Posts: 29
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
LOL i got a site
and i want 2 host all my pics on my forum gallery and add them 2 my site
example: Link
you will c the pics that i have found and show on my site
they r currently hosted by photobucket
i only use photobucket cuz they give me the html/thumbnail code
if my forum gallery provided the html/thumnail code then i would not need photobucket anymore
|
#5 Tue 31 Jul, 2007 20:45 |
|
Artie 
Joined: January 2007
Posts: 833
Location:  Lone Star State
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
LOL i got a site
and i want 2 host all my pics on my forum gallery and add them 2 my site
Are these the same site or 2 different sites ?
|
#6 Wed 01 Aug, 2007 00:06 |
|
Artie 
Joined: January 2007
Posts: 833
Location:  Lone Star State
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
It may be possible that you could adapt the picture block from the FAP contrib or the Outside Pics Mod by Martin to display the thumbnails on your pages as you want.
At the moment I, personally do not have the time to create a mod such as you ask....maybe later...or maybe someone else could do for ya.
|
#8 Fri 03 Aug, 2007 00:59 |
|
jazzking2001
Joined: July 2007
Posts: 29
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
i hope someone can do it LOL
cuz i got no clue how to make it LOL
|
#9 Fri 03 Aug, 2007 04:05 |
|
DWho 
Joined: August 2006
Posts: 1307
Location:  hampshire
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
Hi
I think this site has the mod you need and they are using smaters album or maybe FAP maybe you can ask if his version is available...
I hope this helps..
|
#10 Fri 03 Aug, 2007 17:18 |
|
pepi
Joined: September 2006
Posts: 245
Location:
|
 Re: Mod Request - Generated HTML Clickable Thumbnails
Hello
You can try this so it have it on my page
#
#-----[ OPEN ]------------------------------------------
#
album_showpage.php
#
#-----[ FIND ]------------------------------------------
#
'PIC_ID' => $pic_id,
'PIC_BBCODE' => '[albumimg]' . $pic_id . '[/albumimg]',
'PIC_TITLE' => $thispic['pic_title'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'PIC_FILENAME' => $thispic['pic_filename'],
#
#-----[ OPEN ]------------------------------------------
#
templates/mg_themes/album_showpage_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{U_PIC_L1}<img src="{U_PIC}" border="0" vspace="10" alt="{PIC_TITLE}" title="{PIC_TITLE}" />{U_PIC_L2}
#
#-----[ REPLACE, WITH ]------------------------------------------
#
{U_PIC_L1}<center><a href="javascript:NewWindow('files/album/{PIC_FILENAME}','mypopup','600','400','center','front');"><img src="{U_PIC}" border="0" vspace="10" alt="{PIC_TITLE}" title="{PIC_TITLE} - Klicke auf das Bild um den Original-Link für das Bild zu sehen" /></center>{U_PIC_L2}
#
#-----[ AND WHE YOU WISH, FIND ]------------------------------------------
#
<td valign="top" align="left"><b><span class="genmed">{PIC_TITLE}</span></b></td>
#
#-----[ REPLACE, WITH ]------------------------------------------
#
<td valign="top" align="left"><b><span class="genmed"><a href="javascript:NewWindow('files/album/{PIC_FILENAME}','mypopup','600','400','center','front');">{PIC_TITLE}</span></b></td>
#
#-----[ OPEN - FOR ALL overall_header.tpl]------------------------------------------
#
templates/mg_themes/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
</head>
#
#-----[ BEFORE ADD ]------------------------------------------
#
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
<!-- Popup Generator -->
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=yes,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);
win.focus();}
// -->
</script>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
or this is only for admin
##############################################################
## MOD Title: Album Source Admin Picture Link
## MOD Author: svbomber - http://www.svbomber.de
## MOD Description: Adds a link visible only for admin showing real filname (and path) to album picture on your ftp
## when viewing a picture in Photo Album Mod by Smartor (http://smartor.is-root.com/) or
## Full Album Pack 1.2.x by Mighty Gorgon (http://www.mightygorgon.com/).
##
## Fügt einen nur für den Admin sichtbaren Link hinzu, welcher den echten Bildnamen (und Pfad)
## zu einem Album Bild ausgibt, welches im Photo Album von Smartor (http://smartor.is-root.com/)
## oder Full Album Pack 1.2.x von Mighty Gorgon (http://www.mightygorgon.com/) betrachtet wird.
##
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 5min.
## Files To Edit: 3
## album_page.php (or album_showpage.php)
## language/lang_german/lang_main_album.php (or lang_album_main.php)
## templates/subSilver/album_page_body.tpl (or album_showpage_body.tpl)
## Included Files: n/a
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
# Running Full Album Pack 1.2.x you have to open album_showpage.php
#
album_page.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
'CAT_TITLE' => $thispic['cat_title'],
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Admin Pic Link
if ( $userdata['user_level'] == ADMIN )
{
$template->assign_block_vars('admin_pic_link', array(
'PIC_FILENAME' => $thispic['pic_filename'],
'PIC_ADMIN_LINK' => $lang['Pic_Admin_Link'])
);
}
#
#-----[ OPEN ]------------------------------------------
#
# Running Full Album Pack 1.2.x you have to open album_showpage_body.tpl
#
templates/subSilver/album_page_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<td valign="top" align="left"><b><span class="genmed">{PIC_TITLE}</span></b></td>
</tr>
<tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN admin_pic_link -->
<td valign="top" align="right"><span class="genmed">Link:</span></td>
<td valign="top"><b><span class="genmed"><a href="album_mod/upload/{admin_pic_link.PIC_FILENAME}".'" target="_blank"'>URL</a></td>
</tr>
<tr>
<!-- END admin_pic_link -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Pepi
|
#11 Sat 04 Aug, 2007 00:45 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|