Hello/Hi/Greetings,
Do not install [extension by ] (to support the [extension by lexming] Versa theme) if you already have [extension by plg] Automatic Size installed. Automatic Oversize declares some same function as Automatic Size which leads to a fatal error and wrecks your Piwigo installation completely unusable, including the admin area, so you are doomed if you don't have shell or ftp access to remove plugins/auto_oversize/
Error is:
Fatal error: Cannot redeclare asize_picture_content() (previously declared in .../plugins/automatic_size/main.inc.php:25) in .../plugins/auto_oversize/main.inc.php on line 103
For the Versa theme see also [Forum, post 170327 by erAck in topic 27821] [Theme] Versa
@plg:
Automatic Oversize seems to be more or less a copy+adjust of your Automatic Size, couldn't the functionality be added there instead?
Offline
yes it's much better to enhance automatic size from https://github.com/plegall/Piwigo-automatic_size
Offline
Thank you for the feedback and reporting those errors.
- I apologise for the confusion created with the Automatic_Oversize plug-in. I should have made it clearer that it was a drop-in replacement for Automatic_Size. Enhancing Automatic_Size with the functionality of Automatic_Oversize is certainly a better solution. Therefore, I already removed the latter from the repository to avoid further problems and I will send a Pr to Automatic_Size as soon as I have a first working patch.
Offline