Will this work on localhost?

This discussion is related to the ImageUpload addon.

I have setup my vanilla forum on my local server to test some stuff. However, this plugin is not working for me.

Encountered Issues:
1. Wrong URL src of image
2. There is no uploaded image on uploads directory

Here's the actual <img> tag that this plugin is generating:

<img src="http://localhost/vanilla/uploads/C:/xampp/htdocs/vanilla/uploads/C:/xampp/htdocs/vanilla/uploads/imageupload/600/CWMOCJ7KYCXR.png" alt="NWLOGO_CMYK" title="NWLOGO_CMYK"/>

I'm not sure if this is a plug and play type of plugin. Please help me with this.

Thanks!

Comments

  • hgtonighthgtonight ∞ · New Moderator

    Welcome to the community!

    I notice you are using xampp on windows, perhaps this is a server misconfiguration. ImageUpload uses the standard Garden Upload classes, so if FileUpload works on your server this should too.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • I'm not able to look at the code in detail right now, but could it be a bug that can be fixed in the FileUploaded event in imageupload.js, @hgtonight?

    Add Pages to Vanilla with the Basic Pages app

  • both plugins are not working on local server

Sign In or Register to comment.