FAP SUPPORT - How To Use Images On Other Forums


Subject: FAP SUPPORT - How To Use Images On Other Forums
Hi

I really want to fix the 'rewrite' thing.

I had it working once... :(

but no more..

I want to be able to post my images on other sites. all my images are displayed as:

http://www.akvarieplanter.dk/forum/...d=343&user_id=2

for instance..

I'd like it to be shown as.. .jpg

Profile PM  
Subject: Re: How To Use Images On Other Forums
any help on the rewrite issues?

Profile PM  
Subject: Re: How To Use Images On Other Forums
It should be enough if you add the rewrite rules on HTACCESS.

Code: [Download] [Hide] [Select]
RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=>RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]< [L]

Subject: Re: How To Use Images On Other Forums
Mighty Gorgon wrote: [View Post]
It should be enough if you add the rewrite rules on HTACCESS.

Code: [Download] [Hide] [Select]
RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=>RewriteRule ^.+-at([0-9]*) album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apic([0-9]*) album_pic.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apm([0-9]*) album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]< [L]


Unfortuntely that didn't help...

I try posting in another forum, and just get a line of text instead of the image..like this: album_pic

I would've thought that the link needed to be rewritten to .jpg?

Profile PM  
Subject: Re: How To Use Images On Other Forums
Did you read the STICKY Rewrite Jpg Url-s In Album at the top of this forum ?

Profile PM  
Subject: Re: How To Use Images On Other Forums
Artie wrote: [View Post]
Did you read the STICKY Rewrite Jpg Url-s In Album at the top of this forum ?


yes I read it and tried..

what I want is to rewrite this:

album_pic.php?pic_id=993&user_id=2

to xxxxx.jpg

so I can use it as a jpg...

I tried both MG's and the sticky...

The htaccess in in my webroot, and forum is : /forum

htaccess looks like this:

##########album rewrite dims
RewriteEngine On
#######RewriteBase /
#########RewriteRule ^pic_([0-9]*).jpg forum/album_pic.php?pic_id=> #########RewriteRule ^pic_([0-9]*).jpg forum/album_pic.php?pic_id=$1 [L,NC] < [L,NC]

RewriteRule ^.+-at([0-9]*) forum/album_thumbnail.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-at([0-9]*) forum/album_thumbnail.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apic([0-9]*) forum/album_pic.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apic([0-9]*) forum/album_pic.php?%{QUERY_STRING}&pic_id=$1 [L] < [L]
RewriteRule ^.+-apm([0-9]*) forum/album_picm.php?%{QUERY_STRING}&pic_id=> RewriteRule ^.+-apm([0-9]*) forum/album_picm.php?%{QUERY_STRING}&pic_id=$1 [L]< [L]

Profile PM  

Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1612s (PHP: 11% SQL: 89%)
SQL queries: 10 - Debug Off - GZIP Enabled