1

Could you advise How to show thumbnail selected file of custom option?

enter image description here

2
  • Can you please tell, where you want image option - In frontend or admin – Khushbu_sipl Feb 9 '17 at 5:16
  • Front-end when customer uploaded an image before Add to Cart. – Tee Teerasuwate Feb 9 '17 at 6:24
0

For this, any specific option is not given in magento,

You have to select data (either Image name or url) that you saved in database after uploading and display here simply with tag, that means you have to code for this.

Magento don't give any feature like this.

5
  • I have tested this code but not work when added the js files – Tee Teerasuwate Feb 9 '17 at 7:26
  • Simply retrive image url or name from database, and show it on the page where you want. Dont go for the above code. – Khushbu_sipl Feb 9 '17 at 8:50
  • How can I change the image from src="" to src="[retrived url]" after selection? 109.199.122.11/~cliffp99/childsown/index.php/product/… – Tee Teerasuwate Feb 9 '17 at 9:44
  • Yor are giving wrong path, please give exact url so that image can be visible. – Khushbu_sipl Feb 10 '17 at 4:28
  • After saving Image will be saved in folder like media or skin folder, search where your image saved, and give that path. – Khushbu_sipl Feb 10 '17 at 4:38
0

I have tried this code but every javascript is not work when added the src.(http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js)

showimage.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.