I am using Panoramas Plugin and I suggest two modification:
#1 - plugin usage is based on the photo title. I suggest to use the filename for detection. Append "_180" or "_360" to the title is not very kind. When exporting foto for piwigo with a programa like Lightroom, appending requested chars to the filename is very simple.
This is my modification to the code:
if ( !stristr($image['file'], $asp['in_mode_360']) and !stristr($image['file'], $asp['in_mode_180']) ) return $content;
#2 - plugin code use the original image stored in the upload folder. Is it possible to use an image size like XL or XXL?
I found also a bug: using Panoramas, with this site config, doesn't show nothing.
Config:
$conf['question_mark_in_urls'] = true;
$conf['php_extension_in_urls'] = true;
$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';
I'm using Panoramas version 2.5.a
Very good plugin.
Thanks
Alessandro
Last edited by actinidia (2013-05-06 21:20:45)
Offline
Hi :-)
It's difficult use name file with upload web name is change ?
Offline
I refer to the original file name stored in the database.
In my test file name stored in DB it's not modified during web upload.
Only real system file name, used for store image, is new.
Thanks
Alessandro
Offline