Title: Javascript error while uploading image into gallery
Last modified: December 7, 2023

---

# Javascript error while uploading image into gallery

 *  Resolved [rjvs](https://wordpress.org/support/users/rjvs/)
 * (@rjvs)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-while-uploading-image-into-gallery/)
 * Facing issue while try to upload image(s) into Gallery inside trip.
 * [https://postimg.cc/SnVJbmG3](https://postimg.cc/SnVJbmG3)
 * ![](https://ibb.co/MMGTRfR)
    -  This topic was modified 2 years, 6 months ago by [rjvs](https://wordpress.org/support/users/rjvs/).

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

 *  Plugin Support [Manjil Nepali](https://wordpress.org/support/users/manjilnepali/)
 * (@manjilnepali)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-while-uploading-image-into-gallery/#post-17269939)
 * Hello [rjvs](https://wordpress.org/support/users/rjvs/),
 * Thank you for contacting WP Travel Engine team!
 * One possible reason for the problem you’re experiencing could be the failure 
   of thumbnail generation on your website. You can try resolving the issue by regenerating
   the images to confirm this. This can be done by installing and activating the
   [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails) 
   plugin.
 * After activating the plugin, you need to regenerate the thumbnail via **Admin
   Dashboard > Tools > Regenerate Thumbnails.**
 * Additionally, it is possible that the issue arises from the fact that the values
   for** Image Sizes** under the **Media Settings** are currently set to zero. To
   fix this, adjust the values according to the screenshot: [https://prnt.sc/J2lNpmtNyLq6](https://prnt.sc/J2lNpmtNyLq6).
 * If the issue continues even after implementing the above steps, please let me
   know, and I’ll be ready to help you further.
 * Thank you for your cooperation, and I look forward to hearing from you.
 *  Thread Starter [rjvs](https://wordpress.org/support/users/rjvs/)
 * (@rjvs)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-while-uploading-image-into-gallery/#post-17279294)
 * Thanks, ** Regenerate Thumbnails.** solve the issue.
 *  Plugin Support [Manjil Nepali](https://wordpress.org/support/users/manjilnepali/)
 * (@manjilnepali)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-while-uploading-image-into-gallery/#post-17279483)
 * Hello [rjvs](https://wordpress.org/support/users/rjvs/),
 * I’m glad I could assist you. I have a small favor to ask. Would you consider 
   sharing your experience with WP Travel Engine by writing a review on WordPress.
   org?
 * [Click here to leave a review for WP Travel Engine on WordPress.org.](https://wordpress.org/support/plugin/wp-travel-engine/reviews/)
 * Upon clicking the link, you’ll be directed to our service review page. Please
   select a rating that best describes your experience with us. It’ll take less 
   than 5 minutes of your time.
 * Your feedback helps us better cater to your needs and guides others in making
   informed decisions about WP Travel Engine. Whether or not you choose to leave
   a review, please know that we deeply value your trust in us.
 * I look forward to assisting you again in the future.
 * Thank you!

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

The topic ‘Javascript error while uploading image into gallery’ is closed to new
replies.

 * ![](https://ps.w.org/wp-travel-engine/assets/icon-256x256.png?rev=3161831)
 * [WP Travel Engine - Tour Booking Plugin - Tour Operator Software](https://wordpress.org/plugins/wp-travel-engine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-travel-engine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-travel-engine/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-travel-engine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-travel-engine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-travel-engine/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Manjil Nepali](https://wordpress.org/support/users/manjilnepali/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-while-uploading-image-into-gallery/#post-17279483)
 * Status: resolved