Contributions
BigSize Image
Modification of the popup_image file than allow uses 2 size images without modify in the DB
Expand All / Collapse All
INSTALLATION INSTRUCTIONS
1 - Create proper back-ups
2 - Overwrite the file popup_image.php (store root)
3 - Add these lines to your 'include/languages/[lng]/[lng].php' file(s):
define('POPUP_WINDOW_CLICK_TO_CLOSE_TEXT', 'Click to close window');
define('POPUP_WINDOW_CLOSE_TEXT', 'Close Window');
CHANGE LOG VER 1.1.1
Added installation instructions above
Added text link 'Close Image' beneath the image (and therefor linked to the stylesheet)
Added language support
J. Hollemans
White Rhino
My first ever contribution!
Couple of changes:
- Moved "G" prefix to the end of the image name and with underscore (eg, from Gimage.jpg to image_G.jpg) for easier file management. Also now works with images being in subfolders.
- Added "[imagename] - click to close window" as alternative image text
Fixed resize for big images and added a "close on click image".
System now checks if the BIG size available or not. If not the small one will be taken for the "PopUp" Image.
Modification of the popup_image file than allow uses 2 size images without modify in the DB
Note: Contributions are used at own risk.