Make WordPress Core

Opened 7 years ago

Last modified 5 years ago

#41328 new feature request

lightbox plugins cannot get image address to open except from image link

Reported by: qdinar's profile qdinar Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: Gallery Keywords:
Focuses: Cc:


it would be good if you put image sizes specially for lightbox plugins.

it is already possible to edit A tag's href attributes manually by adding something like "-768x1024" but that endings differ for different images so it is not easy.

it is not possible to edit links of images of gallery at all, though it is possible to copy-past gallery code from preview's html source and then edit it manually.

by default single images and gallery images link to full version of image or to attachment page, and it is not possible to change to smaller version from gui.

it would be good if it would be possible to easily select smaller image from gui because as i said they can have different endings. and it would be especially more comfortable for galleries because it would change many links at once.

maybe it would be good to provide additional image address in additional attribute for usage by lightbox plugins. so A tags around image might link to full image or attachment as configured and lightboxes would get get image address from custom attribute.

Change History (2)

#1 @qdinar
7 years ago

  • Type changed from defect (bug) to feature request

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

5 years ago

Note: See TracTickets for help on using tickets.