Jump to content
thirty bees forum
  • 0

Question

Posted

Hello all we are creating mobile app for all e-commerce app including thirty bees my problem we are not able to work out how exactly images stored in server and in db and how to find it using url

3 answers to this question

Recommended Posts

  • 0
Posted

Images are stored in img/. Product images in img/p/. To get a better idea of how the stuff works, turn off friendly URLs (back office -> Preferences -> SEO & URLs).

  • 0
Posted

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)

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