ProcessPageEditImageSelect class

Provides the image selecting and editing capability for rich text editors (TinyMCE/CKEditor)

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ProcessPageEditImageSelect class also inherits all the methods and properties of: Process, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
ProcessPageEditImageSelect::checkImageEditPermission()
boolCheck if user has image edit permission and throw exception if they don't 
ProcessPageEditImageSelect::execute()
stringDefault execute: display list of images on page for selection
ProcessPageEditImageSelect::executeEdit()
stringEdit a selected image
ProcessPageEditImageSelect::executeResize()
stringResize image and output basic markup with information about the resize
ProcessPageEditImageSelect::executeVariations()
stringShow all variations for the image provided in GET var 'file'
ProcessPageEditImageSelect::getImageFields(Page $page)
arrayGet all editable image fields on the page 
ProcessPageEditImageSelect::getImages(Page $page)
arrayGet all Pageimage objects on page 
ProcessPageEditImageSelect::getPageimage()
PageimageReturn the Pageimage object being edited 

Properties

NameReturnSummaryDefault
ProcessPageEditImageSelect::alignCenterClass string Align center class (align_center recommended) 
ProcessPageEditImageSelect::alignLeftClass string Align left class (align_left recommended) 
ProcessPageEditImageSelect::alignRightClass string Align right class (align_right recommended) 
ProcessPageEditImageSelect::hidpiDefault int HiDPI/Retina checkbox default checked? 
ProcessPageEditImageSelect::noSizeAttrs int Skip width attributes on image tags? (not recommended if you want HiDPI support) 
ProcessPageEditImageSelect::noThumbs int Do not generate thumbnail images (make image selection will use full-size images). 

Additional methods and properties

In addition to the methods and properties above, ProcessPageEditImageSelect also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251