Title: Expand on click function
Last modified: April 3, 2024

---

# Expand on click function

 *  [samwp1](https://wordpress.org/support/users/samwp1/)
 * (@samwp1)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/)
 * Expand on click was implemented on WordPress 6.4. But now that function has disappeared.
   Why was that removed in the new version?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17549300)
 * on a clean install, twenty twenty four theme, wp 6.5, no plugins – I was able
   to add setting to individual 3 images to “expand on click” in block editor. can
   you provide more detail on your situation?
 * I also make a change to global styles to select “expand on click” and added an
   image. it “expanded on click” without changing setting on an additional individual
   image.
    -  This reply was modified 2 years, 2 months ago by [lisa](https://wordpress.org/support/users/contentiskey/).
    -  This reply was modified 2 years, 2 months ago by [lisa](https://wordpress.org/support/users/contentiskey/).
    -  This reply was modified 2 years, 2 months ago by [lisa](https://wordpress.org/support/users/contentiskey/).
 *  Thread Starter [samwp1](https://wordpress.org/support/users/samwp1/)
 * (@samwp1)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17549361)
 * [@contentiskey](https://wordpress.org/support/users/contentiskey/)
   Hi Lisa,
 * It was active on all my sites. Once I updated WP 6.5 on a site, that function
   disappeared. To confirm the incident, I updated another site, and after the update,
   the expand on click function disappeared.
 * After seeing your reply, I also activated the Twenty Twenty theme and deactivated
   all plugins. But the problem persists in the same
 * PS. I discovered that the expand on click function moved to the link button in
   the editor. I activated the option but did not expand the image
    -  This reply was modified 2 years, 2 months ago by [samwp1](https://wordpress.org/support/users/samwp1/).
 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17549433)
 * Which PHP version are you using?, Are there any must use plugins still active?
 * I changed from twenty twenty four to twenty twenty three theme and then twenty
   twenty two theme– “expand on click” still was working for images.
 * Please share a link to your site for a page with an image which you have enabled“
   expand on click” but it the image is not expanding when clicked.
 * [P.S. several weeks ago (pre-wp 6.5)- I found an activated host provided plugin
   seemed to be interfering with expand on click.]
 *  Thread Starter [samwp1](https://wordpress.org/support/users/samwp1/)
 * (@samwp1)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17549502)
 * I downgraded to 6.4.3, and it’s working. But as on your reply, I updated the 
   PHP version 7.4 to 8.3 and updated the WP version also. But still, the problem
   persists
 * Here is the link to a page if you can; please check
   [https://fiberopticx.com/fiberoptic-system-architectures-topology/](https://fiberopticx.com/fiberoptic-system-architectures-topology/)
 * PS. Also, I am seeing this recommendation on the WP site health
 * > “PHP modules perform most of the tasks on the server that make your site run.
   > Any changes to these must be made by your server administrator.
   > The WordPress Hosting Team maintains a list of those modules, both recommended
   > and required, in the team handbook(opens in a new tab).
   > Warning The optional module, imagick, is not installed, or has been disabled.”
 * Is this related to that problem?
 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17549654)
    - I see a few console errors — are you using a CDN?
    - Is it possible to turn off ads?
    - Have you contacted your webhosting vendor?
 *  Thread Starter [samwp1](https://wordpress.org/support/users/samwp1/)
 * (@samwp1)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17564093)
 * I think you are right. The problem is happened with the bunny cdn and now it 
   resolved
 *  [Paroisse Sainte Famille de Pau](https://wordpress.org/support/users/saintefamille64/)
 * (@saintefamille64)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17689804)
 * Hi,
 * since 6.5 Expand on click is associated to a link of the ilage
 * see this thread [https://wordpress.org/support/topic/enlarge-in-click-ko-bug/](https://wordpress.org/support/topic/enlarge-in-click-ko-bug/)
 * but some bugs remain.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Expand on click function’ is closed to new replies.

## Tags

 * [blocks](https://wordpress.org/support/topic-tag/blocks/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [Paroisse Sainte Famille de Pau](https://wordpress.org/support/users/saintefamille64/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/expand-on-click-function/#post-17689804)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
