# Loading modx 3 images

**URL:** <https://community.modx.com/t/loading-modx-3-images/7102>\
**Category:** Random\
**Created:** [October 2, 2023, 12:55pm UTC](https://community.modx.com/t/loading-modx-3-images/7102 "2023-10-02T12:55:01Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [October 2, 2023, 3:24pm UTC](https://community.modx.com/t/loading-modx-3-images/7102/15 "2023-10-02T15:24:29Z")

</div>

> [@mcv11111](#):
>
> `require_once MODX_CORE_PATH.'model/phpthumb/phpthumb.class.php';`

The extra _ResizeImageOnUpload_ is very old and this path only works on MODX 2.x.  
If you really need to use this extra with MODX 3, then take a look at this thread:

> [@ResizeImageOnUpload plugin and MODX3](https://community.modx.com/t/resizeimageonupload-plugin-and-modx3/6703):
>
> Hello everyone, Has anyone of you got the plugin “Resize Image On Upload” to work under Modx 3? I changed the “require\_once” path from “/core/model/phpthumb/phpthumb.class.php” to “/core/vendor/james-heinrich/phpthumb/phpthumb.class.php”. This was displayed as an error in the error log. But after the change I have no more errors in the logs but it still doesn’t work properly. Has anyone had any experience with this? Alternative question: How do you do that for your customers/authors who are …

---

_[View the full topic](https://community.modx.com/t/loading-modx-3-images/7102)._
