AbanteCart Community

AbanteCart Development => General Discussion => Topic started by: susinthiran on May 08, 2018, 01:24:58 AM

Title: Can't upload images via HTML code.
Post by: susinthiran on May 08, 2018, 01:24:58 AM
Hi,

I am running abantecart locally and while I am trying to map resource via Html for Products it is not getting mapped and all it does is mapping an empty image.

If I am right,the problem is relating to settings.

Any suggestions to overcome this problem?

Thanks in Advance.
Title: Re: Can't upload images via HTML code.
Post by: Basara on May 08, 2018, 04:08:59 AM
After mapping did you see your HTML code in the resource library?
Title: Re: Can't upload images via HTML code.
Post by: susinthiran on May 08, 2018, 05:45:03 AM
Hi,

No,Its not getting mapped instead empty image is added with all fields being empty.
Title: Re: Can't upload images via HTML code.
Post by: Basara on May 08, 2018, 06:12:04 AM
First try in another browser. Whats is your server OS system?
What is your AbanteCart version?
Title: Re: Can't upload images via HTML code.
Post by: susinthiran on May 08, 2018, 07:16:30 AM
I tried in Mozilla Firefox and the result is same(previously I tried with Google chrome).
I am running it locally and my Operating system is Windows 7 Professional.
I am using Apache 2.4.23 Webserver.

The Abantecart Version is 1.2.11.


Title: Re: Can't upload images via HTML code.
Post by: Basara on May 08, 2018, 07:36:49 AM
try to open browser console and see if any errors during and after upload
Title: Re: Can't upload images via HTML code.
Post by: susinthiran on May 08, 2018, 08:21:13 AM

I have sorted out the problem and it was due to settings configurations(Seems like I either edited or deleted some settings).
When I tried to connect with old database which was used at initial stage there was no problem.

I will rectify that.
Thanks for your reply.
Title: Re: Can't upload images via HTML code.
Post by: Basara on May 08, 2018, 08:25:30 AM
thanks for the update
Title: Re: Can't upload images via HTML code.
Post by: sanjay210 on October 01, 2025, 02:29:46 AM
It seems like the issue might be with the image path or file permissions. First, double-check that the image path in your HTML is correct, using relative paths like images/product_image.jpg. Also, ensure the image files have the right permissions so the server can access them. Try clearing the cache in AbanteCart and refreshing your browser. Make sure you're using the correct <img> tag in your HTML, like <img src="images/product_image.jpg" alt="Product Image" />. If the issue persists, check AbanteCart's admin panel settings to ensure images are mapped properly. You can also try uploading the image via the admin interface directly.