Jump to content
thirty bees forum
  • 0

Image path and saving in database


appsara

Question

3 answers to this question

Recommended Posts

  • 0

Basically each product image gets an ID and stored in tb_image table. The images are stored in "img/p" folder under folder(s) matching the ID.

So image with ID 254 will be stored under "img/p/2/5/4/" with all images matching types (home, medium, small, .......) The file names will start with the ID number: "254-home_default". Also the original uploaded file size will be stored there "254.jpg". btw: this is not the original uploaded file, but a generated version (which cause some quality reduction)

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...