Album Image Uploads
Upload Types
- Content type without album
- Album-based content using an image from the album as a thumbnail (the thumbnail is a pointer to one of the album image records).
- Album-based content where the thumbnail image record is independent of the album images.
PHP Classes
- Shared PHP classes
/_classes/images/image_upload_class.php(extendsimage_link_class)
PHP Includes
- [COMMON_TEMPLATE_DIR]forms/images/thumbnail_overlay_buttons.php
Include this once somewhere on the page containing the image upload controls.
- For album-based uploads (both with linked and independent thumbnails)
include (COMMON_TEMPLATE_DIR."forms/images/select_thumbnail_link_container.php");
- For images within gallery listings:
- IMG
class=”gallery-edit” - IMG attributes
data-idanddata-tid $('.gallery-edit')handler is set inLITTLED.Gallery.bindImageOverlayHandlers()- single click: display edit and delete buttons overlaid on the image
- double click: display the full-sized version of the image in a lightbox
- IMG