Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #21  
Old 05-07-2006, 05:33 AM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
Quote:
Originally Posted by greentraveler
Did the wrapper .php download link get changed or pulled? The link in the first post just keeps kicking me to the general add-on/template/mod list.
http://www.jumpx.com/tutorials/wrapper/watermark.zip
its exactly the same script like that one from the addon page.

http://www.jumpx.com/tutorials/wrapper
a very good explanation what this script can do.

enjoy
*cheers*
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #22  
Old 05-07-2006, 07:21 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Quote:
Originally Posted by Vernon.Trent
http://www.jumpx.com/tutorials/wrapper/watermark.zip
its exactly the same script like that one from the addon page.

http://www.jumpx.com/tutorials/wrapper
a very good explanation what this script can do.

enjoy
*cheers*
Many thanks...I look forward to working this into my site.
Reply With Quote
  #23  
Old 05-07-2006, 09:42 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Well...I tried it on two different databases and both now default all images to my phpinfo() page. Admin and browse pages, no problem. Just anything from the imgaes folder. And the .htaccess files both disappeared once I renamed them in the images folder.

The instructions were very simple and I honestly don't know where the problem is unless my server is incompatible. You were right Vernon...an excellent set of instructions are on that link.

Luckily, my host has excellent and quick tech support. They can load a daily back-up if I need it, but I'm hoping they'll find a solution that's a litle less drastic.
Reply With Quote
  #24  
Old 05-07-2006, 10:03 AM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
@greentraveler
your .htaccess did not disappear, it's just not visible to you.
try to set up your ftp-client to show hidden files.

the script works. it's running on my PP
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #25  
Old 05-07-2006, 10:33 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Thanks, Vernon. My hosting company untangled it all for me. They said the same thing about not being able to see those files in FTP programs...something I obviously didn't know! Another piece of knowledge earned the hard way.
Reply With Quote
  #26  
Old 05-07-2006, 10:50 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Because I'm obsessed with getting this to work, I just did a fresh install with the same results (although I can now access my .htaccess file).

Vernon, tell me if you see what I'm doing wrong:
"wrapper.php" to /addons with chmod to 775,
"watermarked.png" to /addons (also tried as "watermark.png") with 664.
And .htaccess in /images with "AddHandler watermarked .jpg
AddHandler watermarked .jpeg Action watermarked /addons/wrapper.php"

And it kicks me back to the phpInfo screen instead of a photo. I see how nicely it works on your site and feel like I'm missing something obvious. Any ideas?

I'm running 1.5...are you using an earlier version?
__________________
wwp

Last edited by greentraveler; 11-01-2006 at 10:13 PM.
Reply With Quote
  #27  
Old 05-07-2006, 12:02 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
@greentraveler

wrapper.php in /addons (644 should be ok.)
watermark.png in /addons (644 should be ok.)

.htaccess with this content (in /images folder)

AddHandler watermarked .jpg
AddHandler watermarked .jpeg

Action watermarked /addons/wrapper.php


the above shoud work.
I've checked here on my machine. all well. pp 1.5
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #28  
Old 05-07-2006, 04:47 PM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
SOLVED THE PROBLEM THANKS TO VERNON!
__________________
wwp

Last edited by greentraveler; 05-09-2006 at 12:03 PM.
Reply With Quote
  #29  
Old 05-23-2006, 05:10 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
@karrhun

put the wrapper.php and watermark.png in the admin folder

.htaccess in /images

content of .htaccess
PHP Code:
AddHandler watermarked .jpg
AddHandler watermarked 
.jpeg

Action watermarked 
/admin/wrapper.php 
should work as it works on my PP.
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #30  
Old 05-23-2006, 10:42 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
I see that your pp is in an extra folder (photos)
in that case you must adjust the line in .htaccess to

PHP Code:
AddHandler watermarked .jpg
AddHandler watermarked 
.jpeg

Action watermarked 
/photos/admin/wrapper.php 
try this one
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:07 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs