Jump to content

"customizableProductsFile" use upload picture in content Box


Recommended Posts



i try to use a picture from customer upload in a contentbox on the product page.


Can somebody help me to get the path of the uploaded picture?


I found the  img src for the small preview  in the product.tpl 


<img src="{$pic_dir}{$pictures.$key}_small" alt="" />
How would it be possible to get these variables in the contentbox to show the original uploadpicture there.
Woul be nice if somebody could help!
Edited by marv085 (see edit history)
Link to comment
Share on other sites


when you upload the picture into your content box are you using editor or sample text ? may be more simple if you use editor to find your file ....


I saw mine that images goes into file and url looks   like this:    wwww.mydomain.com/img/cms/my_image.jpg  



hope this help

Link to comment
Share on other sites

Hello bretweb,


thank you for answering! No i use the standard upload for customized products on the product page. The files are saved with a number in the upload direktory. The link (filenumber) to the file is saved in the database.


So what i need is the correct filename of the current uplaod file to show it in the contentbox.

Link to comment
Share on other sites

I think i have to implement the function to get the datafilename from data base, like it's done on the product site with the small preview of upload pictures.


I have already implemented some javascripts in the contentbox to edit some pictures there and i know where the uploaded files are saved but i'm not shure where i get the code for the datafilename from the database.


Has somebody done something similar?


thx in advance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...