Quote:
Originally Posted by pheres
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.