Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #101  
Old 12-28-2006, 07:41 PM
jholly Offline
forum loafer
 
Join Date: Dec 2006
Posts: 13
I dont see any errors but there are a lot of notices, but none of which seem to relate to this addon.

I have tried everything and I am willing to lend someone temporary access to my site or server to fix this!

Thanks for your help so far geos.
Reply With Quote
  #102  
Old 01-01-2007, 11:12 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
So PM me with some login stuff and in free time Ill take a look.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #103  
Old 01-31-2007, 02:27 PM
photoboy Offline
forum loafer
 
Join Date: Jan 2007
Posts: 1
I just can't manage to keep the original...

I downloaded this version of the addon:
31_admin_autoresize_1_2_1.zip

Although in the admin_autoresize.php file it says:
// Version 1.2

The admin_autoresize.php file has default values here:

PHP Code:
$keepfullsizeimage TRUE
$DIRECTION_OF_MAXIMUM ''
And in my Addons Admin Page, it says:
Auto-resize (admin_autoresize - version 1.0) - status: ON
Auto resize image to ....
Resize automatically the uplodaed images ? "yes"
Maximum image size "600"
JPG Compression rate "80"
Keeping the fullsize image too? YES!

Now, I doubt it makes a difference, but it says "version 1.0" in the addons admin page and that seems inaccurate.

The resizing WORKS. Works very well in fact, thank you very much. But this inability to keep the original is freaking me out!

If anyone has a suggestion as to how to proceed with troubleshooting, please let me know.

Thanks,
Michael

P.S. If "POP3 Post" would be able to pass images through the resizing routine that would be absolutely amazing.
Reply With Quote
  #104  
Old 01-31-2007, 08:10 PM
ineusch Offline
forum loafer
 
Join Date: Jan 2007
Posts: 2
Hi !
I love this addon, worked fine for some time, then (after 5 uploads) got these errors :

Code:
Warning: main(EXIF_Tags.php): failed to open stream: No such file or directory in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 87

Warning: main(): Failed opening 'EXIF_Tags.php' for inclusion (include_path='') in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 87

Warning: main(EXIF_Makernote.php): failed to open stream: No such file or directory in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 88

Warning: main(): Failed opening 'EXIF_Makernote.php' for inclusion (include_path='') in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 88

Warning: main(PIM.php): failed to open stream: No such file or directory in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 89

Warning: main(): Failed opening 'PIM.php' for inclusion (include_path='') in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 89

Warning: main(JPEG.php): failed to open stream: No such file or directory in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 91

Warning: main(): Failed opening 'JPEG.php' for inclusion (include_path='') in /home/.sites/33/site5/web/pp/includes/pjmt/EXIF.php on line 91
I didn't touch anything...
Any idea why it doesn't work anymore ?
Reply With Quote
  #105  
Old 02-02-2007, 12:26 PM
ineusch Offline
forum loafer
 
Join Date: Jan 2007
Posts: 2
Quote:
Originally Posted by photoboy View Post
The resizing WORKS. Works very well in fact, thank you very much. But this inability to keep the original is freaking me out!
Exactly the same for me
No original and the EXIF bug described before :/
Reply With Quote
  #106  
Old 02-07-2007, 11:28 AM
pheres Offline
forum loafer
 
Join Date: Feb 2007
Posts: 1
Is there any possibility to change the addon to also resize after making an update to the image?
I've been looking in pixelpost code and it seems that no workspace is called after uploading the image ( I'm talking after editing the picture).
Reply With Quote
  #107  
Old 04-12-2007, 07:44 PM
MercuryJones Offline
forum loafer
 
Join Date: Apr 2007
Posts: 2
Easy fix to resize after image update

Quote:
Originally Posted by pheres View Post
Is there any possibility to change the addon to also resize after making an update to the image?
I've been looking in pixelpost code and it seems that no workspace is called after uploading the image ( I'm talking after editing the picture).
I modified the file "images_edit.php" (in pixelpost/admin directory) to enable this.
Three simple line additions:

add the following line after the CVS file version comment at top of the file:

require('../includes/pjmt/EXIF.php');

add the following two lines after the comment // end prepare of file */ (there may be a better spot for these but I havent bothered to look into it too much yet)

$filnamn = $oldfilename;
eval_addon_admin_workspace_menu('image_uploaded');

This is working fine for me; you will get a warning about renaming the fullsize image file if you have opted to keep the fullsize images in the admin_autoresize options.

Remember that if you update pixelpost you will lose these changes.
Reply With Quote
  #108  
Old 04-12-2007, 08:14 PM
MercuryJones Offline
forum loafer
 
Join Date: Apr 2007
Posts: 2
btw for image-edit mod

I did the image_edit mod on pixelpost 1.5.

I have just been looking at the code for pixelpost v1.6 and note that there are many changes to the core files. Image_edit will probably require similar changes for v1.6 because new_image.php still uses the same line "eval_addon_admin_workspace_menu('image_uploaded') " to call the resize function in admin_autoresize.php.

cheers!
Reply With Quote
  #109  
Old 05-09-2007, 09:40 AM
garghe Offline
forum loafer
 
Join Date: May 2007
Posts: 5
Info About auto resize in 1.6

any News about using auto resize addon in 1.6?
thank you!

m
Reply With Quote
  #110  
Old 05-15-2007, 07:31 PM
outbackcamera Offline
forum loafer
 
Join Date: May 2007
Location: Northern Virginia
Posts: 8
auto_resize with image reupload in pixelpost v1.6

Quote:
Originally Posted by garghe View Post
any News about using auto resize addon in 1.6?
thank you!

m
I have made some changes in PPv1.6 to enable image auto resize when an image file is reuploaded using the image edit functionality.
Changes are simple:
In images_edit.php add the following two lines to trigger the admin_autoresize addon after the new image file has been uploaded and the post updated. These should go after line 262 in images_edit.php, i.e. just after the line:
<div class='content confirm'>$admin_lang_done $admin_lang_imgedit_updated #".$getid.". ".$file_reupload_str. "</div><p />";
PHP Code:
$filnamn $oldfilename;
eval_addon_admin_workspace_menu('image_uploaded'); 

Secondly, you need to add the following line to admin_autoresize.php just after the declaration for function resize_image, i.e. after the line:
function resizeImage($file, $maxsize, $jpgcompression,$filenameonly) {
PHP Code:
require_once('../includes/pjmt/EXIF.php'); 

cheers
Steve
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:45 AM.

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