This version correct a litte bug with quantity and rewrite HTML Code for the element table that permit to view the price list...
http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN
http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-FR
That is not exactly true.
http://code.google.com/p/theunarchiver/
The latest still does run on PowerMac with 10.4 (I have one!) and is able to extract.
Would love to see the feature of displaying the filename in a paypal receipt instead of the imageTitle. I could just use the filename for the title.. but that is not best for seo, I want to use imageTitle as the title of my page that a image resides on which more flexible and best for seo.
That being said, using the actual filename would be best in a paypal sales receipt. I tried using getFileName in lines 403 and 404 of your zenpaypal plugin but it didn't work. Is there a way to achieve this?
Still trying to figure this out, code from zenPaypal.php
if(function_exists('getAlbumTitle')) $item_name = gettext('Album: ').getAlbumTitle();
if(function_exists('getImageTitle')) $item_name .= gettext('; Image: ').getImageTitle();
If I exchange getImageTitle text for getFileName shouldn't the FileName show up on the Paypal checkout? When I do this it only displays the AlbumTitle.
Looked through documentation but can't figure it out..
Any help appreciated
Add this to the beginning of the function:
global $_zp_gallery, $_zp_current_album, $_zp_current_image, $_zp_current_zenpage_news, $_zp_current_zenpage_page, $_zp_gallery_page, $_zp_current_category, $_zp_authority;
Then change your getImageTitle line to this:
if(is_object($_zp_current_image)) $item_name .= gettext('; Photo: ').$_zp_current_image->getFileName();