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
		FAP SUPPORT - How To Use Images On Other Forums
		
		
		Subject: Re: How To Use Images On Other Forums
		
						
	
		It should be enough if you add the rewrite rules on HTACCESS.
		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]
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
		
Unfortuntely that didn't help...
I try posting in another forum, and just get a line of text instead of the image..like this: 
I would've thought that the link needed to be rewritten to .jpg?
		
						
	
		Mighty Gorgon wrote: [View Post]
Unfortuntely that didn't help...
I try posting in another forum, and just get a line of text instead of the image..like this:
I would've thought that the link needed to be rewritten to .jpg?
		
		
		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 ?
		
		
		
		Subject: Re: How To Use Images On Other Forums
		
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]
		
						
	
	
		
	Artie wrote: [View Post]
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]
Page 1 of 1
		You cannot post new topicsYou 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