|
Page 1 of 1
|
hype
Joined: October 2007
Posts: 5
|
 OTF Gallery Image Link
Is there any constant which I can use to show the direct image link to the image I have in the otf album? I wanted to show it at the otfgallery.php page, and I could not find a constant except for
- {pic_row.pic_column.PIC_IMAGE}
but it starts with a ./files
Any ideas?
|
#1 Sun 21 Oct, 2007 19:03 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
pepi
Joined: September 2006
Posts: 245
Location:
|
 Re: OTF Gallery Image Link
Hello
OPEN templates/mg_themes/album_otf_body.tpl
FIND
<span class="genmed"><b>{pic_row.pic_column.PIC_NAME}</b></span></a>
AFTER ADD
<br><br>http://yourdomain/your-icy/{pic_row.pic_column.PIC_IMAGE}
try it
Pepi
|
#2 Mon 22 Oct, 2007 20:44 |
|
hype
Joined: October 2007
Posts: 5
|
 Re: OTF Gallery Image Link
I couldn't find the file you mention, but I've added myself in the style/style_folder/template/otf_gallery_body.html
<input class="inputbox" name="URL{pic_row.pic_column.PIC_NAME}" size="5" maxlength="300" value="http://www.bi0603.com/forum/{pic_row.pic_column.PIC_IMAGE}" type="text" readonly="readonly" onClick="javascript:this.form.URL{pic_row.pic_column.PIC_NAME}.focus();this.form.URL{pic_row.pic_column.PIC_NAME}.select();" />
It provides me with this url with a "." just before the file path.
http://www.bi0603.com/forum/./files/album/otf/Orientation/cheer7.jpg
And, how do I set all the pictures with permission viewable by all user and guest? And also allow display at at other sites.
|
#3 Wed 24 Oct, 2007 01:08 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: OTF Gallery Image Link
And, how do I set all the pictures with permission viewable by all user and guest? And also allow display at at other sites.
This mod is not based on db, so you can't specify permissions using standard phpBB features (unless you modify OTF Gallery files!).
All pictures should be viewed by all users and external sites, unless you have an HTACCESS file restricting this.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#4 Thu 01 Nov, 2007 21:25 |
|
hype
Joined: October 2007
Posts: 5
|
 Re: OTF Gallery Image Link
And, how do I set all the pictures with permission viewable by all user and guest? And also allow display at at other sites.
This mod is not based on db, so you can't specify permissions using standard phpBB features (unless you modify OTF Gallery files!).
All pictures should be viewed by all users and external sites, unless you have an HTACCESS file restricting this.
Strangely, my pictures are not viewable by users and external sites, and I found .htaccess file in the otf gallery folder.. I thought it was suppose to be there?
|
#5 Fri 02 Nov, 2007 05:23 |
|
pepi
Joined: September 2006
Posts: 245
Location:
|
 Re: OTF Gallery Image Link
Strangely, my pictures are not viewable by users and external sites, and I found .htaccess file in the otf gallery folder.. I thought it was suppose to be there?
Hi
I have delete the .htaccess file
Pepi
|
#6 Fri 02 Nov, 2007 13:34 |
|
Artie 
Joined: January 2007
Posts: 833
Location:  Lone Star State
|
 Re: OTF Gallery Image Link
Set the permissions (CHMOD 777) on the folders
|
#7 Fri 09 Nov, 2007 00:26 |
|
hype
Joined: October 2007
Posts: 5
|
 Re: OTF Gallery Image Link
Ahh ok thanks..
Is there any constant which I can use to show the direct image link to the image I have in the otf album? I wanted to show it at the otfgallery.php page, and I could not find a constant except for
- {pic_row.pic_column.PIC_IMAGE}
but it starts with a ./files
Any ideas?
My topic is still not really answered.. That solution given isn't working.. Any ideas?
|
#8 Sat 10 Nov, 2007 10:22 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: OTF Gallery Image Link
Look for these vars and add what you want as image prefix (you may replace $phpbb_root_path with the full path of your site).
'PIC_IMAGE' => $phpbb_root_path . $pic_img_url,
'PIC_THUMB' => $phpbb_root_path . $pic_img_thumb,
'PIC_COUNTER' => $i + 1,
'PIC_BBCODE' => '[url=' . generate_board_url() . '/' . $pic_img_url . '][img]' . generate_board_url() . '/' . $pic_img_thumb . '[/img][/url]',
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#9 Mon 12 Nov, 2007 11:42 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
Similar Topics
Similar Topics
Topic |
Author |
Forum |
Replies |
Last Post |
 |
FAP CUSTOMIZATION - Link Avatar To FAP Gal...
|
Bullet |
Archived phpBB Topics (Styles, Mods, Support) |
2 |
Wed 31 Jan, 2007 01:51  Bullet |
 |
Remove Link From Image Posted.
|
imation |
Old Support Topics |
3 |
Sat 24 Mar, 2007 20:31  Vortex |
 |
FAP CUSTOMIZATION - Sub Cat Link In Person...
|
DWho |
Archived phpBB Topics (Styles, Mods, Support) |
1 |
Fri 28 Mar, 2008 10:14  DWho |
 |
FAP CUSTOMIZATION - Wanting To Add A Perso...
|
luckyou03 |
Archived phpBB Topics (Styles, Mods, Support) |
12 |
Sun 18 May, 2008 07:58  Pete_Z |
 |
FAP CUSTOMIZATION - Posting Image Goes To ...
|
bloke |
Archived phpBB Topics (Styles, Mods, Support) |
3 |
Fri 10 Oct, 2008 14:15  bloke |
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
|
|
|
|